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.
- is related to
-
SERVER-47025 moveChunk after refine shard key can hang indefinitely due to missing shard key index
- Closed
-
SERVER-78863 Audit places in the codebase that rely on the hashed index to ensure correct behavior.
- Closed