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: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-08-19, CAR Team 2024-09-02, CAR Team 2024-10-28, CAR Team 2024-11-11, CAR Team 2024-11-25
    • 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:
            igor.praznik@mongodb.com Igor Praznik
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: