Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.0-alpha-1, 2.0.0, 1.4.13
-
None
Description
When we use StochasticLoadBalancer + balanceByTable, we could face two difficulties.
- For each table, their regions are distributed uniformly, but for the overall cluster, still exiting imbalance between RSes;
- When there are large-scaled restart of RSes, or expansion for groups or cluster, we hope the balancer can execute as soon as possible, but the StochasticLoadBalancer may need a lot of time to compute costs.
We can detect these circumstances in StochasticLoadBalancer(such as using the percentage of skew tables), and before the normal balance steps trying, we can add a strategy to let it just balance like the SimpleLoadBalancer or use few light cost functions here.
Attachments
Issue Links
- links to