Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2021-01-11
-
50
Description
Rename with dropTarget=true is performed in two phases with each phase is writing to the catalog while holding a MODE_X lock for the collection.
As holding a MODE_X lock does not prevent a lock free reader it may observe the collection as dropped as this is written to the in-memory catalog separately from the rename:
This whole operation must be performed atomically in a single catalog write as MODE_X lock mode cannot be used to prevent readers anymore.
Attachments
Issue Links
- is related to
-
SERVER-53697 Directory per DB broken when enableMajorityReadConcern=false is set
-
- Closed
-