CollectionLock invariants that an appropriate DBLock is held. Lock-free reads do not take that DBLock. Also, lock-free reads do not want to take any collection or database level locks, including <db>.system.views collection locks. We need to remove them, or find another solution if needs be. Looks like SERVER-40992 originally added the view collection locks.
- is depended on by
-
SERVER-51326 Add ViewCatalog to catalog_raii_test.cpp and add unit testing
- Closed
-
SERVER-51359 Add ViewCatalog to catalog_raii_test.cpp and unit test AutoGetCollectionLFR
- Closed
- related to
-
SERVER-40992 ViewCatalog should grab mutex after locking the collection
- Closed
-
SERVER-50678 Implement lock-free version of AutoGetCollectionForRead
- Closed