-
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)
- is related to
-
SERVER-103744 Deadlock between renameCollection, dbHash, and prepared transaction
-
- In Code Review
-
-
SERVER-99621 Fix lock ordering on renames
-
- Investigating
-
-
SERVER-104410 Audit uses of database exclusive locks in DDL operations
-
- Backlog
-
- related to
-
SERVER-72703 Downgrade $out's db lock to MODE_IX
-
- Closed
-