sunhelly 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_r314560749
##########
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:
Changed to private.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services