Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-24461

Create MetadataManager class

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.9
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 16 (06/24/16)

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

            Assignee:
            leon.zaruvinsky Leon Zaruvinsky
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: