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

Get rid of DBConfig::getAllShardIds

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.3
    • Fix Version/s: 3.4.3, 3.5.4
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Backport Requested:
      v3.4
    • Sprint:
      Sharding 2017-03-06

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: