keith-turner opened a new issue, #4521: URL: https://github.com/apache/accumulo/issues/4521
**Is your feature request related to a problem? Please describe.** The host regex balancer calls multiple per table balancers. Each per table balancer may make balancing decision based on the current state of its tablets and the current state of all other tablets. When the decision of multiple per table balancers are all executed at once it may cause churn because their assumptions about other tables are partially invalidated. If the host regex balancer could optionally focus on one table at a time it may help avoid or lessen this churn. **Describe the solution you'd like** Add option to the host reg ex balancer that enables balancing a single table at time. This option would be off by default. The behavior of this option would be as follows for this [code section](https://github.com/apache/accumulo/blob/c488f788ad3add4992c30556d7b5bc941d6f0a39/core/src/main/java/org/apache/accumulo/core/spi/balancer/HostRegexTableLoadBalancer.java#L496-L523). * If there are migrations in progress let them complete, so return. * Sort the table ids. This will ensure that as the balancer is repeatedly called that it works through tables in a consistent order. * Call the balancer for each table until a per table balancer returns migrations. * Return after the first table returns some migrations, do not consult any other per table balancers. Need to experiment with this solution to see if it helps with churn. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
