-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
CAR Team 2026-03-30, CAR Team 2026-04-13, CAR Team 2026-04-27, CAR Team 2026-05-11
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We have to introduce a new in-memory state to hold all flags for preventing user writes. In particular, we have to expose:
1) A method which will throw an error if the write blocking is enabled and the namespace/user is not exempt
2) A method to allow an operation to bypass the block (adding a new privilege)
In addition, we have to update the existing opObserver to check if an insert, update or delete operation is allowed by checking the in-memory state. We have further to modify the opObserver to disallow range deletions.
- depends on
-
SERVER-120969 Create and delete persisted state during an acquisition and release of the critical section
-
- Closed
-
- is depended on by
-
SERVER-123734 Add new metrics to track the new user write block
-
- In Code Review
-
-
SERVER-125476 Change global and replica set opObservers modularity to PRIVATE
-
- Needs Scheduling
-