Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Implemented
-
0.98.0
-
None
-
None
Description
StochasticLoadBalancer has become the default balancer since 0.98.0. But its balanceCluster method still uses the BaseLoadBalancer.needBalance() which is originally designed for SimpleLoadBalancer. It's all based on the number of regions on the regionservers.
This can cause such a problem: when the cluster has some Hot Spot Region, the balance process may not be triggered because the numbers of regions on the RegionServers are averaged.