Duo Zhang created HBASE-25826:
---------------------------------

             Summary: Revisit the synchronization of balancer implementation
                 Key: HBASE-25826
                 URL: https://issues.apache.org/jira/browse/HBASE-25826
             Project: HBase
          Issue Type: Improvement
            Reporter: Duo Zhang


In StochasticLoadBalancer, some methods are synchronized, for example, 
setClusterMetrics, setConf, balanceTable, etc.

What I can see is that, we have ConfigurationObserver support, so we need to 
make sure that the configuration updating does not effect the balance 
operation, so we need synchronization here. But do we support two balance 
operations at the same time? And what about other balancer implementations?

I think we need to make the synchronization more clearer.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to