NealSun96 commented on a change in pull request #973:
URL: https://github.com/apache/helix/pull/973#discussion_r416951514



##########
File path: helix-core/src/main/java/org/apache/helix/model/ClusterConfig.java
##########
@@ -137,6 +140,7 @@
   private final static int MAX_REBALANCE_PREFERENCE = 10;
   private final static int MIN_REBALANCE_PREFERENCE = 0;
   public final static boolean DEFAULT_GLOBAL_REBALANCE_ASYNC_MODE_ENABLED = 
true;
+  public static final int TARGET_TASK_THREAD_POOL_SIZE_NOT_SET = -1;

Review comment:
       Since `InstanceConfig` and `ClusterConfig` are both using the same enum 
and constant, how about only defining them in `InstanceConfig` and make them 
public, then `ClusterConfig` can reuse the values?
   
   All the config field names we have so far are enums in one of the several 
`ConfigProperty`s, and I think it's better to maintain that convention; a 
separate file like TaskConstants.java having a `InstanceConfig` field name 
might come as a surprise to others. 




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to