-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.2.24, 4.4.24, 5.0.20
-
Component/s: Sharding
-
Sharding EMEA
-
Fully Compatible
-
v7.1, v7.0, v6.0, v5.0, v4.4, v4.2
-
Sharding EMEA 2023-09-18, Sharding EMEA 2023-10-02, Sharding EMEA 2023-10-16, Sharding EMEA 2023-10-30
-
(copied to CRM)
On every round the sharding balancer constructs a histogram of where the chunks are places across the cluster. This histogram is produced through linear scan over all chunks in the chunk manager and because of this as the number of chunks grows, so grows its complexity.
Without redesigning how this histogram is maintained, we could still get significant performance boost if we switch it to use KeyString like the ChunkManager.
- causes
-
SERVER-82325 Config server could invariant during balancer round
- Closed
- is duplicated by
-
SERVER-37810 Optimise balancer performance with zone sharding
- Closed
- related to
-
SERVER-82365 Optimize the construction of the balancer's collection distribution status histogram (2nd attempt)
- Closed