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

Make selectLeastLoadedNonDrainingShard query shards data size in parallel

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • 3

      selectLeastLoadedNonDrainingShard queries all the non-draining shard to learn their data size and then choose the least loaded one. This is done sequentially, one shard after the other. This can be slow for deployments with many shards. It could be improved by querying shards in parallel.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: