Make selectLeastLoadedNonDrainingShard query shards data size in parallel

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Jordi Serra Torrens
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: