-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Fully Compatible
-
ALL
-
Sharding EMEA 2022-08-08
This command is introduced in SERVER-61028 to block CRUD operations on the shards. We should generalize this command to make it reusable in other scenarios:
- the reason to distinguish between critical section acquired from different DDL operations.
- a flag blockReads to specify if the critical section should be taken in writeOnly or readAndWrite mode.