-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
ALL
The clusterwide_ops_with_add_remove_shards.js verifies that those operations that must be run on all shards do not crash when adding or removing shards. As the checkMetadataConsistency command is run concurrently with that jstest, it is possible for the mongos to refresh its ShardRegistry after choosing to target one shard, throwing ShardNotFound error.
The goal for this ticket is to make checkMetadataConsistency robust to run concurrently with removeShard.
- related to
-
SERVER-77509 CheckMetadataConsistencyInBackground hook is not robust to ShardNotFound
- Closed