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

Add range deletions cannot proceed due to missing shard key index to checkMetadataConsistency

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2025-02-17, CAR Team 2025-03-03
    • 2

      There are certain cases (direct shard connections, refineCollectionShardKey, etc.) that can cause a shard which does not contain any chunks for a sharded collection to not have the correct shard key index for the collection. This is generally fine (we do not expect these shards to have accurate indexes), but if that shard has pending range deletion tasks the range deletions will not be able to make progress without the shard key index.

      This can cause issues with balancing where no chunks can be moved back to the shard in question.

      It would be nice to be able to find shards where this is the case via checkMetadataConsistency.

            Assignee:
            annamaria.nestorov@mongodb.com Anna Maria Nestorov
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: