Discards HandOverToMe in state End to avoid unhandled message warning #26793

This commit is contained in:
Nicolas Vollmar 2019-04-23 11:20:42 +02:00
parent f320ddc0de
commit e866e3fc70

View file

@ -981,9 +981,9 @@ class ClusterSingletonManager(singletonProps: Props, terminationMessage: Any, se
case Event(MemberRemoved(m, _), _) if m.uniqueAddress == cluster.selfUniqueAddress =>
logInfo("Self removed, stopping ClusterSingletonManager")
stop()
case Event(_: OldestChanged, _) =>
case Event(_: OldestChanged | HandOverToMe, _) =>
// not interested anymore - waiting for removal
stay
stay()
}
def selfMemberExited(): Unit = {