Investigate usages of exclusive locks in rename_collection.cpp

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-05-12, CAR Team 2025-05-26, CAR Team 2025-06-09, CAR Team 2025-06-23, CAR Team 2025-07-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are more usages of Db Mode X (only renameCollectionForApplyOps, maybe not?) locks throughout the file, including in:

      • renameTargetCollectionToTmp
      • renameCollectionWithinDB
      • renameCollectionWithinDBForApplyOps
      • renameCollectionAcrossDatabases
      • renameCollectionForApplyOps

      We should investigate whether Mode X locks should be taken here, particularly when they are taken on the DB level (like here for example)

       

       

              Assignee:
              Joan Bruguera Micó
              Reporter:
              Damian Wasilewicz
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: