Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58167

Use scoped database critical section during dropDatabase

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v5.0
    • Sharding EMEA 2021-07-12
    • 166

    Description

      The critical section acquired in drop database must be cleared out on stepdown to avoid leaving the node in an inconsistent state.

      In order to do that, it's possible to simply use a scoped critical section that lives as long as the coordinator is instantiated and exists the critical section on destruction.

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: