mcvsubbu commented on a change in pull request #4047: Create leadControllerResource in helix cluster URL: https://github.com/apache/incubator-pinot/pull/4047#discussion_r280990241
########## File path: pinot-common/src/main/java/org/apache/pinot/common/utils/CommonConstants.java ########## @@ -37,8 +37,16 @@ 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"; + + public static final String MASTER_SLAVE_STATE_MODEL_DEFINITION = "MasterSlave"; + + // Hard code the number of partitions to 17 since it's rarely changed. Review comment: You may want to write a larger comment block here. What does this value signify (we don't expect the number of controllers in a cluster to be more than 17)? Why is this a prime number? etc. ---------------------------------------------------------------- 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