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

All CollectionMetadata functions that erase/add a chunk must be called through the MetadataManager

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding

    Description

      The MetadataManager must see every chunk range change (add/remove) to the active CollectionMetadata it maintains because the MetadataManager will be responsible for initiating range deletion and must maintain an accurate rangesToClean data structure.

      For example, currently the MigrationSourceManager calls CollectionMetadata::cloneMigrate with the ScopedCollectionMetadata it gets from the MetadataManager. The MetadataManager does not currently update its rangesToClean when this happens.

      Note: We may need to implement this, but temporarily comment out the line that actually adds/removes the range from rangesToClean. Until the the new CollectionRangeDeleter is committed and replaces the current RangeDeleter, the rangesToClean data structure would just grow larger and larger and never be reduced by a CollectionRangeDeleter.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: