caroliney14 commented on a change in pull request #3606:
URL: https://github.com/apache/hbase/pull/3606#discussion_r693089147
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java
##########
@@ -825,6 +827,20 @@ private void createRSGroupTable() throws IOException {
}
public boolean isOnline() {
Review comment:
@saintstack It's called by `RSGroupBasedLoadBalancer#balanceCluster`
([here](https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java#L114)),
`RSGroupInfoManagerImpl#refresh`
([here](https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java#L581)),
and `RSGroupInfoManagerImpl#flushConfig`
([here](https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java#L635))
so I would think semi-frequently? Not sure how often `balanceCluster` gets
called, but `refresh` gets called upon `RSGroupInfoManagerImpl` startup and
`flushConfig` gets called every time we add/remove servers or tables or change
the rsgroups in any way.
--
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]