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

Investigate usages of exclusive locks in rename_collection.cpp

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Storage Execution

    Description

      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)

       

       

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: