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

Make DropDatabase DDL delete the database metadata from the shard-local replicated collection

    • 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 2025-02-03

      The purpose of this ticket is to modify the DropDatabase DDL so that it deletes the metadata entry for the database related to DDL operation from the shard-local replicated collection.

      The implementation needs to ensure that the DropDatabase coordinator sends a delete to the new collection `config.shard.databases` from the primary shard of the database where the coordinator is being executed. This ticket specifically focuses on deleting the entry within the critical section, without addressing any further complexities from the technical design.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: