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

Use scoped database critical section during dropDatabase

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

      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.

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

              Created:
              Updated:
              Resolved: