-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
CAR Team 2025-06-09, CAR Team 2025-06-23
-
2
-
None
-
3
-
TBD
-
🟩 Routing and Topology
-
None
-
None
-
None
-
None
-
None
-
None
-
0
Currently, adding a replicaset that already has a shardIdentity to a cluster results in a collision between shardIdentities, making the config server hanging and requiring a manual intervention. This situation arises when a shard is removed from one cluster (the operation does not clean up the shard metadata) and is then added to a another cluster.Â
To address this, the AddShardCoordinator should verify during the kCheckShardPreconditions phase whether there exists a shardIdentity on the replicaset. If it does, the coordinator must fail.