[SERVER-21271] Cleanup the runCommand methods on ShardRegistry Created: 03/Nov/15  Updated: 04/May/16  Resolved: 04/May/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-21413 Unify the config server and shard net... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 13 (04/22/16), Sharding 14 (05/13/16)
Participants:

 Description   

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.



 Comments   
Comment by Spencer Brody (Inactive) [ 04/May/16 ]

These methods were all removed in SERVER-23213

Generated at Thu Feb 08 03:56:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.