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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.11
    • Sharding
    • None
    • Fully Compatible
    • Sharding 16 (06/24/16), Sharding 17 (07/15/16), Sharding 18 (08/05/16)

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: