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

RenameCollection can attempt to release critical section after migration are already resumed.

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

      RenameCollection stops migrations here and they are reenabled here as part of the commit to the configsvr. At this point, the balancer can start issuing migrations, although they'll get blocked behind the shards critical section. As soon as the critical section is released, migrations can start.

      The problem is that the UnblockCRUD phase may need to be repeated in case of participant stepdown. At that point, a migration could have started, and the rename operation would hit this tassert when attempting to release the critical section (that had already released, and the migration has taken now)

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: