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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: 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)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: