Investigate usages of exclusive locks in rename_collection.cpp

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2025-05-12, CAR Team 2025-05-26
    • None
    • 3
    • 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:
            6 Start watching this issue

              Created:
              Updated: