zpinto commented on code in PR #2801:
URL: https://github.com/apache/helix/pull/2801#discussion_r1631789047
##########
helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java:
##########
@@ -24,15 +24,52 @@ public class InstanceConstants {
/**
* The set of InstanceOperations that are not allowed to be populated in the
RoutingTableProvider.
*/
- public static final Set<InstanceOperation> UNSERVABLE_INSTANCE_OPERATIONS =
+ public static final Set<InstanceOperation> UNROUTABLE_INSTANCE_OPERATIONS =
Set.of(InstanceOperation.SWAP_IN, InstanceOperation.UNKNOWN);
+ @Deprecated
public enum InstanceDisabledType {
CLOUD_EVENT,
USER_OPERATION,
DEFAULT_INSTANCE_DISABLE_TYPE
}
+ public enum InstanceOperationSource {
+ AUTOMATION, ADMIN, USER;
Review Comment:
Fixed
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]