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_r396797274
 
 

 ##########
 File path: 
helix-core/src/main/java/org/apache/helix/controller/GenericHelixController.java
 ##########
 @@ -1233,4 +1334,18 @@ private void initPipeline(Thread eventThread, 
BaseControllerDataProvider cache)
     eventThread.setDaemon(true);
     eventThread.start();
   }
-}
\ No newline at end of file
+
+  private List<String> getEnabledCustomizedStates(HelixManager manager) {
+    CustomizedStateConfig customizedStateConfig =
+        manager.getConfigAccessor().getCustomizedStateConfig(_clusterName);
+    if (customizedStateConfig != null) {
+      return customizedStateConfig.getAggregationEnabledTypes();
+    }
+    return Collections.emptyList();
+  }
+
+  private void addCustomizedStateListeners(HelixManager manager, String 
customizedState,
 
 Review comment:
   What is this?

----------------------------------------------------------------
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