-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Cluster Deployment fails completely after only one disconnected Node: AssociationError #3887
Comments
Thanks for submitting this - we should take a look at the sample and see if it's a configuration issue of some kind. That's usually in the culprit. |
The problem described above is still present in Akka.NET 1.3.15 using DotNet Core 3.0. |
I'll look into this problem |
After a quick investigation here are some details: In sample seed and worker nodes are started on random ports. When worker node exits, seed marks it as unreachable, but when worker wants to join back, it uses a new port and then the problem occurs. If worker uses static port all works as expected. Looks like the problem is in cluster joining code. |
yes, this is just a configuration issue - on the JVM they might have it so I explain this in a lot of depth here and offer a few different solutions for tackling these types of problems: https://petabridge.com/blog/proper-care-of-akkadotnet-clusters/ |
Excellent, when adding |
@Kenji-Tanaka we've now updated Akka.NET to automatically have this setting on by default via #4087 |
Greetings.
I implemented a simple Cluster Application in Akka with Scala, which I also implemented in Akka.NET with C# for testing purposes. As soon as one disconnect a non-seed Cluster Node in Akka.NET, the cluster fails to deploy to all Nodes that join at a later time. Strangely enough, it does not work in Akka.NET, although it corresponds exactly to the Akka version which works fine.
I am using DotNet Core 2.2.401 under Windows 10 and the following Packages:
I created a Repository that contains the Code to reproduce this Behaviour:
https://github.com/Kenji-Tanaka/AkkaNetClusterSample.git
Steps to reproduce:
dotnet run seed
dotnet run node
dotnet run node
Expected Behaviour:
Actual Behaviour:
The Log for the seed Node is attached: log.txt
I guess I might do something wrong here. However, I don't see what it could be. I accept every hint with gratitude. Akka.NET is great, keep up the good work!
Thank You!
The text was updated successfully, but these errors were encountered: