-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Sharding EMEA
-
Fully Compatible
-
Sharding EMEA 2023-04-17
As part of the project, we have to implement the checks for consistent indexes. The main goal of this ticket to check that indexes are consistent across shards:
- A sharded collection has an inconsistent index if the collection does not have the exact same indexes (including the index options) on each shard that contains chunks for the collection.
- Inconsistent indexes can occur, when a user is creating an index with a unique key constraint and one shard contains a chunk with duplicate documents.
- is related to
-
SERVER-72895 Implement shardKey index check in checkConsistencyMetadata command
- Closed