mcvsubbu commented on a change in pull request #4047: Create leadControllerResource in helix cluster URL: https://github.com/apache/incubator-pinot/pull/4047#discussion_r273315781
########## File path: pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/util/HelixSetupUtils.java ########## @@ -64,10 +65,12 @@ private static final Logger LOGGER = LoggerFactory.getLogger(HelixSetupUtils.class); public static synchronized HelixManager setup(String helixClusterName, String zkPath, - String pinotControllerInstanceId, boolean isUpdateStateModel, boolean enableBatchMessageMode) { + String pinotControllerInstanceId, boolean isUpdateStateModel, boolean enableBatchMessageMode, + LeadControllerResourceConfig leadControllerResourceConfig) { try { - createHelixClusterIfNeeded(helixClusterName, zkPath, isUpdateStateModel, enableBatchMessageMode); + createHelixClusterIfNeeded(helixClusterName, zkPath, isUpdateStateModel, enableBatchMessageMode, Review comment: can u add .a TODO that we should not be creating helix cluster in pinot-only mode? thanks ---------------------------------------------------------------- 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: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org