Merge pull request #1496 from akka/wip-3408-ClusterSingletonManager-leaving-order-patriknw

Fix exiting ordering problem in ClusterSingletonManager, see #3408
This commit is contained in:
Patrik Nordwall 2013-05-29 07:30:59 -07:00
commit c5ce28da7f

View file

@ -571,7 +571,7 @@ class ClusterSingletonManager(
case Some(a) if a == cluster.selfAddress case Some(a) if a == cluster.selfAddress
// already oldest // already oldest
stay stay
case Some(a) if removed.contains(a) case Some(a) if !selfExited && removed.contains(a)
gotoHandingOver(singleton, singletonTerminated, handOverData, None) gotoHandingOver(singleton, singletonTerminated, handOverData, None)
case Some(a) case Some(a)
// send TakeOver request in case the new oldest doesn't know previous oldest // send TakeOver request in case the new oldest doesn't know previous oldest