-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 9.0.0-rc0, 9.1.0-rc0
-
Component/s: None
-
Catalog and Routing
-
CAR Team 2026-08-03, CAR Team 2026-08-17
-
🟥 DDL
-
None
-
None
-
None
-
None
-
None
-
None
Currently CheckMetadataConsistency only checks CollectionShardingState and DatabaseShardingState entries of namespaces reachable through either the global or the local collection catalogs; other entries are never checked. Therefore we are missing validation that no stale CSS/DSS entries are left.
For example, after dropping a database, we are missing validation that there are no CSS/DSS entries stating that collections on that database exist.
Proposal:
For all shards, and all their replicas, scan all the entries on the CSS and DSS and validate them.
- is duplicated by
-
SERVER-132479 Extend checkMetadataConsistency to detect CSR states without a matching durable entry
-
- Closed
-
- is related to
-
SERVER-132479 Extend checkMetadataConsistency to detect CSR states without a matching durable entry
-
- Closed
-