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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@helix.apache.org
For additional commands, e-mail: reviews-h...@helix.apache.org

Reply via email to