Sigma-Ma opened a new pull request, #8587: URL: https://github.com/apache/hbase/pull/8587
JIRA: https://issues.apache.org/jira/browse/HBASE-30093 # What changes were proposed in this pull request? Start the maxRunningTime deadline immediately before the stochastic walk. Keep the original start time for total-duration metrics and logging. Add a regression test for the deadline ordering. # Why are the changes needed? Balancer initialization currently consumes part of the stochastic search time budget. On a busy host, this can leave too little time to find a better balance plan and cause load balancer tests to fail intermittently. # How was this patch tested? ```bash mvn -pl hbase-balancer -am -Dtest=TestStochasticLoadBalancer#testSearchDeadlineIsSetAfterInitialization -Dsurefire.failIfNoSpecifiedTests=false test mvn -pl hbase-balancer -am -Dtest=TestStochasticLoadBalancerRegionReplicaSameHosts -Dsurefire.failIfNoSpecifiedTests=false test mvn -pl hbase-balancer -am -Dtest=TestStochasticLoadBalancer -Dsurefire.failIfNoSpecifiedTests=false test mvn -pl hbase-balancer spotless:check ``` -- 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]
