Ignore possible state change in start (#29069)

This commit is contained in:
Nicolas Vollmar 2020-05-22 13:43:45 +02:00 committed by GitHub
parent 11816df236
commit ab89e15438
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -626,6 +626,10 @@ class ClusterSingletonManager(singletonProps: Props, terminationMessage: Any, se
goto(BecomingOldest).using(BecomingOldestData(oldest.filterNot(_ == cluster.selfUniqueAddress)))
else
goto(Younger).using(YoungerData(oldest.filterNot(_ == cluster.selfUniqueAddress)))
case Event(HandOverToMe, _) =>
// nothing to hand over in start
stay()
}
when(Younger) {