-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Storage Execution
To simplify the removal of the global exclusive lock in applyOps, we should look into today's use cases of the 'preCondition' and if it would be possible to remove it.
The 'preCondition' accepts a list of preConditions across multiple databases and collections. This would require us to potentially hold multiple database and collection locks throughout the applyOps command to ensure that the preCondition holds throughout the entire operation.
- is depended on by
-
SERVER-44033 Only take the global write lock for applyOps when there are preConditions, multiple DDL commands or nested applyOps
- Closed