=clu #19859 Relaxed constraints on downing old incarnation of rejoining node.

* Automatic downing of old node incarnation when new tries to rejoin the cluster is performed even if old incarnation was left in Leaving or Exiting state.
* Added information to clustering docs about automatic downing of old incarnations when new tries to rejoin the cluster.
This commit is contained in:
adebski 2016-02-26 20:35:19 +01:00
parent 19d8da60ee
commit 472d404bbe
2 changed files with 4 additions and 2 deletions

View file

@ -496,7 +496,7 @@ private[cluster] class ClusterCoreDaemon(publisher: ActorRef) extends Actor with
// new node will retry join
logInfo("New incarnation of existing member [{}] is trying to join. " +
"Existing will be removed from the cluster and then new member will be allowed to join.", m)
if (m.status != Down && m.status != Leaving && m.status != Exiting)
if (m.status != Down)
downing(m.address)
case None
// remove the node from the failure detector