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
    • Catalog and Routing

      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:
            Unassigned Unassigned
            Reporter:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: