-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Fully Compatible
-
Sharding 13 (04/22/16), Sharding 14 (05/13/16)
Currently, ShardRegistry exposes 7 different methods for running a command:
- exhaustiveFindOnConfig
- runCommandOnShard (with Shard object)
- runCommandOnShard (with ShardId)
- runCommandForAddShard
- runCommandOnConfig
- runCommandWithNotMasterRetries
- runCommandOnConfigWithNotMasterRetries
Some of these methods can be expressed in terms of the others so we should go through them and clean them up.
- is related to
-
SERVER-21413 Unify the config server and shard network calls' retrying logic
- Closed