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

Maintain the 'rangesToClean' and 'metadataInUse' sets on chunk migrations

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.11
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 16 (06/24/16), Sharding 17 (07/15/16), Sharding 18 (08/05/16)

      This task is to finish the MetadataManager
      1) connect the rangesToClean set created in SERVER-24365 with the code created in SERVER-24364 – manipulate/populate the rangesToClean and metadataInUse variables. Add invariant checks where logical.
      2) take the MetadataManager API and replace all usages of CollectionMetadata::cloneMinusPending, CollectionMetadata::clonePlusPending and CollectionMetadata::cloneMigrate and make them instead use the add/removeRange methods combined with the setMetadata call.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: