mcvsubbu commented on a change in pull request #4047: Create leadControllerResource in helix cluster URL: https://github.com/apache/incubator-pinot/pull/4047#discussion_r290027257
########## File path: pinot-common/src/main/java/org/apache/pinot/common/utils/CommonConstants.java ########## @@ -37,8 +37,15 @@ public static final String SERVER_INSTANCE_TYPE = "server"; public static final String BROKER_INSTANCE_TYPE = "broker"; + public static final String CONTROLLER_INSTANCE_TYPE = "controller"; public static final String BROKER_RESOURCE_INSTANCE = "brokerResource"; + public static final String LEAD_CONTROLLER_RESOURCE_NAME = "leadControllerResource"; + + // More information on why these numbers are set can be found in the following doc: + // https://cwiki.apache.org/confluence/display/PINOT/Controller+Separation+between+Helix+and+Pinot + public static final int DEFAULT_NUMBER_OF_PARTITIONS_IN_LEAD_CONTROLLER_RESOURCE = 17; + public static final int DEFAULT_NUMBER_OF_CONTROLLER_REPLICAS = 1; Review comment: Also, Pinot does not do anything in slaves. Master partitions do all the work. ---------------------------------------------------------------- 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