Cluster node that is UNREACHABLE and rejoins. see #2160

This commit is contained in:
Björn Antonsson 2012-06-05 15:46:26 +02:00
parent 3d7360cd3c
commit 2ea0bba9e9
3 changed files with 171 additions and 0 deletions

View file

@ -203,6 +203,10 @@ trait MultiNodeClusterSpec extends FailureDetectorStrategy with Suite { self: Mu
nodesInCluster.sorted.head
}
def clusterSortedRoles(nodesInCluster: Seq[RoleName]): Seq[RoleName] = {
nodesInCluster.sorted
}
/**
* Sort the roles in the order used by the cluster.
*/