-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.2.25, 4.4.24, 6.0.10, 5.0.21, 7.2.0-rc0, 7.0.2, 7.1.0
-
Component/s: None
-
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.
- depends on
-
SERVER-83580 Re-introduce balancer policy unittests with multiple chunks
- Closed
- is depended on by
-
SERVER-81092 Include collection namespace in balancer warning logs
- Closed
- is related to
-
SERVER-40459 Optimize the construction of the balancer's collection distribution status histogram
- Closed