-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Sharding EMEA
-
Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06
DB primary shard send _configsvrCheckMetadataConsistency(dbName) to the config server to check the routing table consistency:
- There should be no chunk with empty history.
- The shard name in the first element of the history array matches the shard name in the top level of the chunk (code).
- No range gaps - Chunks must always cover the entire shard key space for a specific collection [minKey, maxKey)
- No overlap ranges for chunks or tags
No spare chunks - No leftover chunks from deleted collections (only available on cluster-level check)(not done in this ticket)
- has to be done after
-
SERVER-74034 Add config server database level check metadata command
- Closed
- split to
-
SERVER-74083 Implement chunk checks in checkConsistencyMetadata command
- Closed
-
SERVER-74084 Implement zones checks in checkConsistencyMetadata command
- Closed