=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:
parent
290f402b79
commit
4d64901228
3 changed files with 150 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue