SERVER-62101 handled a case where we incorrectly assumed a view would still be present in a later lookup when we were running lock-free. That change is no longer necessary after SERVER-57250 goes in, and the code can be simplified again. The ViewCatalog logic is now in the CollectionCatalog class, a copy of which is placed on the opCtx for lock-free read catalog accesses to use: so the view catalog can no longer change during a lock-free read operation.
- depends on
-
SERVER-57250 CollectionCatalog should handle and own Views instead of ViewCatalog
- Closed
- related to
-
SERVER-62101 Aggregation can run lock-free and expects a ViewCatalog access separate from the AutoGet*MaybeLockFree to always return a valid ViewCatalog -- not guaranteed
- Closed