-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 4.2.6, 4.4.0, 5.0.0, 6.0.0, 7.0.0, 8.0.0
-
Component/s: None
-
Catalog and Routing
-
Fully Compatible
-
ALL
-
v8.0, v7.0, v6.0
-
CAR Team 2025-01-20, CAR Team 2025-02-03
-
2
When a shard is removed from a cluster, both shards and routers invalidate metadata for all namespaces associated with the removed shard:
- mongos_main.cpp (lines 424-432)
- sharding_initialization_mongod.cpp (lines 556-564)
This invalidation implies that the next access to the metadata may trigger a full refresh for the affected namespace.
color: Color value is invalid
A more efficient approach would be to advance the version for all namespaces associated with the removed shard so that the next access to the metadata would trigger a partial refresh instead.
- is caused by
-
SERVER-32871 ReplicaSetMonitorRemoved and ShardNotFound errors on fanout query after removing a shard
-
- Closed
-