-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Sharding EMEA
With actual implementation of the shard key index inconsistency checks, if we are running the checkMetadataConsistency cmd in a recipient shard part of a migration, and that shard had no chunks about the collection being migrated (chunk version <0,0>), we will skip the checks.
This is done because there is a space where the collection is registered on the recipient's shard but it has no indexes yet.
The goal of this ticket is to investigate if there is a more optimized way of checking shard key indexes when there are migrations.
A possible optimistic approach was to first check if the shard key index exists, and if not check if there is a migration running.
- related to
-
SERVER-72895 Implement shardKey index check in checkConsistencyMetadata command
- Closed