Apache9 commented on a change in pull request #482: HBASE-22820 Do not need to 
persist default rs group now
URL: https://github.com/apache/hbase/pull/482#discussion_r314161436
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
 ##########
 @@ -456,7 +458,12 @@ private synchronized void flushConfig(Map<String, 
RSGroupInfo> newGroupMap) thro
 
     // Make changes visible after having been persisted to the source of truth
     resetRSGroupMap(newGroupMap);
+    saveRSGroupMapToZK(newGroupMap);
 
+    updateCacheOfRSGroups(newGroupMap.keySet());
+  }
+
+  public void saveRSGroupMapToZK(Map<String, RSGroupInfo> newGroupMap) throws 
IOException {
 
 Review comment:
   Does this method need to be public?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to