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

fixed ClusterClientDiscoverySpec #7322

Merged

Conversation

Aaronontheweb
Copy link
Member

@Aaronontheweb Aaronontheweb commented Aug 16, 2024

Changes

Fixed a race condition with the Akka.Cluster.Tools.MultiNode.Tests project

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

@@ -107,8 +107,6 @@ protected ClusterClientDiscoverySpec(ClusterClientDiscoverySpecConfig config)
_config = config;
}

protected override int InitialParticipantsValueFactory => 3;
Copy link
Member Author

Choose a reason for hiding this comment

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

This value should be set to 4, which the test will do by default. With a value of 3 it's possible that the RoleName("third") will start up late and hit a bunch of barriers late, causing the coordinator node to crash.

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) August 16, 2024 20:50
@Aaronontheweb Aaronontheweb changed the title fixed ClusterClientDiscoverySpec fixed ClusterClientDiscoverySpec Aug 16, 2024
@Aaronontheweb Aaronontheweb merged commit d1f481f into akkadotnet:dev Aug 16, 2024
12 checks passed
@Aaronontheweb Aaronontheweb deleted the fix-ClusterClientDiscoverySpec branch August 16, 2024 21:09
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.

1 participant