jiajunwang commented on a change in pull request #851: Modify Helix generic
controller to include new stage for customized view aggregation
URL: https://github.com/apache/helix/pull/851#discussion_r396799467
##########
File path:
helix-core/src/main/java/org/apache/helix/controller/GenericHelixController.java
##########
@@ -775,6 +811,39 @@ public void onStateChange(String instanceName,
List<CurrentState> statesInfo,
logger.info("END: GenericClusterController.onStateChange()");
}
+ @Override
+ @PreFetch(enabled = false)
+ public void onCustomizedStateRootChange(String instanceName,
NotificationContext changeContext) {
+ logger.info("START:
GenericClusterController.onCustomizedStateRootChange()");
+ notifyCaches(changeContext, ChangeType.CUSTOMIZED_STATE_ROOT);
Review comment:
We don't need to notify the cache, right?
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]