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

DropDatabase should emit an oplog on its completion after the DDL gets committed onto the config server

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      The Sharding DDL coordinator for dropDatabase delegates to the local catalog layer the generation of the op entry about its completion, but this occurs before the sharding metadata changes are actually committed into the config server.

      The order of events needs to be reversed to ensure that the opening of a change stream that targets a database being dropped will be resilient to the placement change under any timing condition.

            Assignee:
            Unassigned Unassigned
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: