Code refactor and cleanup on instance validation (#2032)
authorQi (Quincy) Qu <qqu@linkedin.com>
Mon, 18 Apr 2022 17:57:15 +0000 (10:57 -0700)
committerGitHub <noreply@github.com>
Mon, 18 Apr 2022 17:57:15 +0000 (13:57 -0400)
commit30fc9cc70bfc56ff0fbcb59d787d3a06d277bfc1
tree653a57e2538e0e343a8fd2bf40047d6e662a5421
parent5335b6339a64760c9e1442120c12c6297505ad5d
Code refactor and cleanup on instance validation (#2032)

Unify the usage of checking instance enable/disable using InstanceValidationUtil
12 files changed:
helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java
helix-core/src/main/java/org/apache/helix/controller/rebalancer/topology/Topology.java
helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/DelayedRebalanceUtil.java
helix-core/src/main/java/org/apache/helix/controller/stages/ReadClusterDataStage.java
helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
helix-core/src/main/java/org/apache/helix/model/ClusterConfig.java
helix-core/src/main/java/org/apache/helix/tools/ClusterSetup.java
helix-core/src/main/java/org/apache/helix/util/HelixUtil.java
helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java
helix-core/src/test/java/org/apache/helix/util/TestInstanceValidationUtil.java
helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/MaintenanceManagementService.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/InstancesAccessor.java