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

Get rid of DBConfig::getAllShardIds

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.3, 3.5.4
    • Affects Version/s: 3.5.3
    • Component/s: Sharding
    • None
    • Minor Change
    • v3.4
    • Sharding 2017-03-06

      The DBConfig::getAllShardIds method returns all shards on which collections from a particular database have chunks, plus the primary shard. It is only used by map/reduce with sharded output in order to provide a set of shards on which to spread the output collection.

      Instead of using this methodology we should just use all available shards.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: