Collection and CollectionCatalogEntry are basic objects stored in the catalog. They were created for different purposes: Collection provides an interface to do operations on a collection; CollectionCatalogEntry serves as a cache for the on-disk catalog entry. However, they do share some data such as pointer to underlying recordStore, ns, uuid and so on. This ticket is to find out if there is a way to merge them (or make composition) to eliminate some unnecessary data copy.
- depends on
-
SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalog
- Closed
-
SERVER-40716 Refactor catalog initialization logic on startup
- Closed
-
SERVER-41583 Refactor Collection and CollectionCatalogEntry registration/de-registration
- Closed
- related to
-
SERVER-50028 Coverity analysis defect 114771: Dereference after null check
- Closed