=clu #19274 failure detection of joining/down member status

* Failure detection heartbeating was not performed to joining
  nodes, since it was expected that they will become Up first.
* If a joining node is downed before it is changed to Up failure
  detection will not be performed for that node. That resulted in
  the downed node will not be removed from membership, since the
  unreachability signal is used as confirmation that the node is
  actually stopped before removing it.
This commit is contained in:
Patrik Nordwall 2015-12-26 11:30:18 +01:00
parent 290f402b79
commit 4d64901228
3 changed files with 150 additions and 8 deletions

View file

@ -52,7 +52,7 @@ abstract class RestartNodeSpec
override def afterAll(): Unit = {
runOn(second) {
if (secondSystem.isTerminated)
if (secondSystem.whenTerminated.isCompleted)
shutdown(restartedSecondSystem)
else
shutdown(secondSystem)