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

Investigate usages of exclusive locks in rename_collection.cpp

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution

      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:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: