qqu0127 commented on code in PR #2199:
URL: https://github.com/apache/helix/pull/2199#discussion_r951797646
##########
helix-view-aggregator/src/main/java/org/apache/helix/view/aggregator/HelixViewAggregator.java:
##########
@@ -75,7 +75,7 @@ public HelixViewAggregator(String viewClusterName, String
zkAddr) {
_viewClusterManager = HelixManagerFactory
.getZKHelixManager(_viewClusterName,
generateHelixManagerInstanceName(_viewClusterName),
InstanceType.SPECTATOR, zkAddr);
- _refreshViewCluster = new AtomicBoolean(false);
+ _refreshViewCluster = new AtomicBoolean(true);
Review Comment:
I think it makes more sense to trigger a refresh after startup (in the
upcoming periodic refresh)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]