vaijosh commented on code in PR #7900:
URL: https://github.com/apache/hbase/pull/7900#discussion_r2917671670


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java:
##########
@@ -396,7 +409,25 @@ public void regionOffline(RegionInfo regionInfo) {
   }
 
   @Override
-  public synchronized void onConfigurationChange(Configuration conf) {
+  public void onConfigurationChange(Configuration conf) {
+    synchronized (this) {
+      // If balance is in progress, defer applying configuration change until 
balance completed so
+      // that onConfigurationChange doesn't hang until balance completed.
+      if (isBalancing.get()) {
+        LOG.info(

Review Comment:
   @hingu-8103 
   Please make it debug log.



-- 
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]

Reply via email to