Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

akka.singleton - Ignore possible state change in start #4646

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

zbynek001
Copy link
Contributor

Ignore possible state change in start. (Migrated from akka/akka#29069)

@@ -896,6 +896,9 @@ private void InitializeFSM()
? GoTo(ClusterSingletonState.BecomingOldest).Using(new BecomingOldestData(initialOldestState.Oldest.FindAll(u => !u.Equals(_selfUniqueAddress))))
: GoTo(ClusterSingletonState.Younger).Using(new YoungerData(initialOldestState.Oldest.FindAll(u => !u.Equals(_selfUniqueAddress))));
}
case HandOverToMe _:
// nothing to hand over in start
return Stay();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch.

@Arkatufus
Copy link
Contributor

@zbynek001
Everything looks good, thank you for the contribution 👍

@Aaronontheweb Aaronontheweb merged commit fe467ec into akkadotnet:dev Dec 2, 2020
@Aaronontheweb Aaronontheweb added this to the 1.4.13 milestone Dec 2, 2020
This was referenced Dec 16, 2020
@zbynek001 zbynek001 deleted the singleton-fix branch July 16, 2021 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants