Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21271

Cleanup the runCommand methods on ShardRegistry

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 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.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: