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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • 6.3.0-rc0
    • Sharding
    • None
    • Sharding EMEA
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-04-03
    • 147

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: