The goal of this ticket is to create a new MetadataManager class with the minimum implementation so that it can be worked on in parallel going forward.
Make _metadata in CollectionShardingState an instance of MetadataManager. MetadataManager will have a private variable _metadata, and provide getter and setter functions.
std::shared_ptr<CollectionMetadata> getActiveMetadata(); void setActiveMetadata(std::shared_ptr<CollectionMetadata> newMetadata);
- has to be done before
-
SERVER-24364 Implement MetadataManager to manage CollectionMetadata instances
- Closed
-
SERVER-24365 Implement the rangesToClean set and maintenance methods
- Closed