-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
Fully Compatible
-
ALL
-
CAR Team 2026-06-22
-
200
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
The current implementation of isFirstMigration() assumes that, for non-owning shards, the catalog will have a CollectionMetadata that will return currentShardHasAnyChunks() = false. In the authoritative model, this is only true if the shard is the DB primary shard, but all other shards will have a null CollectionMetadata.
- related to
-
SERVER-129090 Check usages of CollectionMetadata::currentShardHasAnyChunks()
-
- Open
-