-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding EMEA 2022-02-21, Sharding EMEA 2022-03-07, Sharding EMEA 2022-03-21
Currently RecoverableCriticalSectionService has machinery to block writes (and reads) to a given collection with stepdown-resiliency guarantees. In order do accommodate global user writes blocking, we need to extend it to:
(1) Support global blocking on any collection
(2) Blocking user writes must be able to coexist with the migration critical section (chunk migrations need to keep working even when user writes are blocked)
- depends on
-
SERVER-63611 Create in-memory state holder for user write blocking state
- Closed
- is depended on by
-
SERVER-64245 Make SetUserWriteBlockModeCoordinator set the write blocking state on the shards
- Closed