-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 7.0.0, 8.0.0, 8.2.0, 9.0.0-rc0, 8.3.0
-
Component/s: Sharding
-
None
-
Catalog and Routing
-
ALL
-
CAR Team 2026-07-20
-
1
-
🟥 DDL
-
None
-
None
-
None
-
None
-
None
-
None
Historically config.chunks was indexes by namespace ("ns" field), but around MongoDB 5.0 it was removed and indexes by UUID ("uuid" field) instead - see SERVER-53105, SERVER-52847, SERVER-59052.
However the check_uuids_consistent_across_cluster.js hook still aggregates config.chunks with a $group over "ns". Because of this the hook is effectively a no-op since this aggregation will return no documents and no checks are done.
We should either:
- Fix the aggregation so the hook can checks for consistency again.
- Conclude we can remove it as it's already superseded by checkMetadataConsistency.
We should also scan the codebase for any similarly broken aggregations.
- is related to
-
SERVER-52847 Make timestamp required in CollectionType and ShardCollectionType IDL
-
- Closed
-
-
SERVER-53105 Remove namespace field from config.chunks
-
- Closed
-
-
SERVER-59052 Remove deprecated ChunkType::ns
-
- Closed
-