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

movePrimary participant should drain DDL ops over the same dbName before acquiring the critical section

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: 6.3.0-rc0
    • Component/s: Sharding
    • None
    • Sharding EMEA
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-04-03
    • 147

      SERVER-71201 changed the movePrimary protocol, introducing the acquisition of the Recoverable Critical Section on the recipient shard as a way to prevent operations on it. However, before trying to acquire the RCS we should drain any ongoing DDL operation over that namespace, because they might be holding the RCS.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: