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

Use recoverable critical section for drop database

    • Sharding EMEA
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20, Sharding EMEA 2023-04-03
    • 5

      SERVER-70600 is a mitigation that prevents a shard to believe it is the primary database even after the termination of a drop database coordinator. However, we could still allow a write to sneak in after a stepdown, but after the commit was sent to the CSRS, allowing the creation of an unsharded collection that will be never deleted.

      The purpose of this task is to revisit the dropDatabase DDL operation and change its implementation to start using the Recoverable Critical Section and prevent leaving unsharded collections in the shards that had executed a drop database.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: