HBASE-12064 hbase.master.balancer.stochastic.numRegionLoadsToRemember is not used (Junegunn Choi)
This commit is contained in:
parent
47ae4c2d20
commit
3d898fe16a
|
@ -339,7 +339,7 @@ public class StochasticLoadBalancer extends BaseLoadBalancer {
|
|||
if (rLoads == null) {
|
||||
// There was nothing there
|
||||
rLoads = new ArrayDeque<RegionLoad>();
|
||||
} else if (rLoads.size() >= 15) {
|
||||
} else if (rLoads.size() >= numRegionLoadsToRemember) {
|
||||
rLoads.remove();
|
||||
}
|
||||
rLoads.add(entry.getValue());
|
||||
|
|
Loading…
Reference in New Issue