Stop range deletion when hashed shard key index does not exist

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 5.0.22, 7.0.3, 6.0.12
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0, v6.0, v5.0
    • Sharding NYC 2023-08-07, Sharding NYC 2023-08-21, Sharding NYC 2023-09-04
    • 152
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, range deletion gets stuck searching for an index to complete an indexScan for deletion. In the case of a hashed shard key index, we will allow skipping range deletion for the collection. This may lead to orphan documents remaining on the shards, but we will solve this with documentation by recommending that a user drain orphan documents before deleting their index.

            Assignee:
            Sanika Phanse (Inactive)
            Reporter:
            Sanika Phanse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: