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

Cleanup the runCommand methods on ShardRegistry

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 13 (04/22/16), Sharding 14 (05/13/16)

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: