[SERVER-24461] Create MetadataManager class Created: 08/Jun/16  Updated: 05/Jul/16  Resolved: 13/Jun/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.9

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Leon Zaruvinsky
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before SERVER-24364 Implement MetadataManager to manage C... Closed
has to be done before SERVER-24365 Implement the rangesToClean set and m... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 16 (06/24/16)
Participants:

 Description   

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);



 Comments   
Comment by Dianna Hohensee (Inactive) [ 10/Jun/16 ]

Code review for above commit: https://mongodbcr.appspot.com/70320001/

Comment by Githook User [ 10/Jun/16 ]

Author:

{u'username': u'leonz', u'name': u'Leon Zaruvinsky', u'email': u'leon@mongodb.com'}

Message: SERVER-24461 Create a base MetadataManager class
Branch: master
https://github.com/mongodb/mongo/commit/daa6badfa7548056a01c225fe3255919744b7110

Generated at Thu Feb 08 04:06:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.