In order to avoid the range deleter having to look into sharding metadata to discover the key pattern, add it as a field on range deletion task documents.
The purpose of this ticket is to:
- Add a new keyPattern field to the IDL (optional)
- Write down the key pattern in all newly created range deletion documents
- is depended on by
-
SERVER-47025 moveChunk after refine shard key can hang indefinitely due to missing shard key index
- Closed
-
SERVER-69769 Add `keyPattern` to all range deletion documents missing it on upgrade to v8.0
- Backlog
- is related to
-
SERVER-69792 Mandatory `keyPattern` fields for range deletions when v8.1 branches out
- Blocked