-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
v4.4, v4.2
-
Execution Team 2020-11-16, Execution Team 2020-11-30
-
(copied to CRM)
-
0
Implement copy-on-write on the CollectionCatalog. Where its data structures that contain shared pointers are copied.
The new catalog instance should be able to be installed with atomic compare-and-swap and we can remove the catalog mutex that is currently there.
Lock-Free read operations hold a shared_ptr to a CollectionCatalog consistent with the established storage snapshot and may perform multiple lookups from this instance that all is consistent with the storage snapshot.
This should allow us to support DBDirectClient in Lock-Free Reads.
- related to
-
SERVER-51674 Filter out $where clauses in the find and distinct cmds for lock free reads
- Closed