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

Optimize the construction of the balancer's collection distribution status histogram (2nd attempt)

    • Fully Compatible
    • v7.2, v7.1, v7.0, v6.0, v5.0, v4.4, v4.2
    • Sharding EMEA 2023-10-30, CAR Team 2023-11-13, CAR Team 2023-11-27, CAR Team 2023-12-11, CAR Team 2023-12-25

      An improved version of the balancer round logic was committed in SERVER-40459  but then reverted due to SERVER-82325. So this will be the second attempt to address this performance issue.

      With a considerable number of chunks, the balancer is observed to spend a large amount of time checking each chunk for belonging to a tag. This can lead to a situation where a balancer round spends most of its time finding a candidate chunk (e.g. one minute) rather than migrating a chunk. This can have a significant impact on the overall cluster balancing performance.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'slack.nextup.jira:slack-integration-plus'. Please contact your Jira administrators.