Ignore possible state change while waiting for removal #25274

This commit is contained in:
Nicolas Vollmar 2018-06-27 09:06:32 +02:00 committed by Johan Andrén
parent 9075480747
commit 28746a4cfe

View file

@ -804,6 +804,9 @@ class ClusterSingletonManager(
case Event(MemberRemoved(m, _), _) if m.uniqueAddress == cluster.selfUniqueAddress
logInfo("Self removed, stopping ClusterSingletonManager")
stop()
case Event(_: OldestChanged, _)
// not interested anymore - waiting for removal
stay
}
def selfMemberExited(): Unit = {