Use scoped database critical section during dropDatabase

XMLWordPrintableJSON

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

      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
              Reporter:
              Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: