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

Make dropDatabase coordinator to write to 'config.dropPendingDBs' to serialize with concurrent database creation

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-11-25

      The following changes will be made to DropDatabaseCoordinator:

      • When committing the delete of the database entry in config.databases on the config server, insert an entry with the database nss as its _id field to config.dropPendingDBs within the same transaction
      • After generating the change stream event and releasing the critical section for dropDatabase, delete the entry from config.dropPendingDBs.

            Assignee:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: