As a result of SERVER-57250, view DDL operations will atomically replace the ViewsForDatabase object. If two or more such operations happen in the same storage transaction, each will register a full copy of the ViewsForDatabase object with the UncommittedCatalogUpdates class. We could probably refactor this in such a way that if we already have a copy stored in UncommittedCatalogUpdates, we can modify it directly rather than creating an additional copy.
- depends on
-
SERVER-57250 CollectionCatalog should handle and own Views instead of ViewCatalog
- Closed