Skip to content

Commit

Permalink
revert accidental format
Browse files Browse the repository at this point in the history
  • Loading branch information
xyuanlu committed Sep 19, 2023
1 parent cd805fb commit 0273cc4
Show file tree
Hide file tree
Showing 3 changed files with 423 additions and 279 deletions.
10 changes: 8 additions & 2 deletions helix-core/src/main/java/org/apache/helix/HelixAdmin.java
Original file line number Diff line number Diff line change
Expand Up @@ -741,12 +741,18 @@ Map<String, Boolean> validateInstancesForWagedRebalance(String clusterName,

/**
* Return if instance operation 'Evacuate' is finished.
* Only return true if there is no current state on the instance and that instance is still alive.
* @param clusterName
* @param instancesNames
* @return
* @return Return true if there is no current state nor pending message on the instance.
*/
boolean isEvacuateFinished(String clusterName, String instancesNames);

/**
* Return if instance is ready for preparing joining cluster. The instance should have no current state,
* no pending message and tagged with operation that exclude the instance from Helix assignment.
* @param clusterName
* @param instancesNames
* @return true if the instance is ready for preparing joining cluster.
*/
boolean isReadyForPreparingJoiningCluster(String clusterName, String instancesNames);
}
Loading

0 comments on commit 0273cc4

Please sign in to comment.