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.Cluster: harden ignored gossip messages #7278

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

Aaronontheweb
Copy link
Member

@Aaronontheweb Aaronontheweb commented Jul 10, 2024

Changes

Added our unique address just in case the issue here is gossip intended for previous incarnations of ourselves following a fast restart. This is just for improving diagnostic clarity.

Checklist

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

Added our unique address just in case the issue here is gossip intended for previous incarnations of ourselves following a fast restart.
@Aaronontheweb Aaronontheweb added this to the 1.5.27 milestone Jul 10, 2024
@Aaronontheweb Aaronontheweb enabled auto-merge (squash) July 10, 2024 14:57
_cluster.LogInfo("Ignoring received gossip intended for someone else, from [{0}] to [{1}]. Our full address is [{2}]",
from.Address, envelope.To, SelfUniqueAddress);

// TODO: if the gossip is received for a version of ourselves with a different UID, do we issue a Down command?
Copy link
Member Author

Choose a reason for hiding this comment

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

Valid question - what we need to do here will be determined by what we see in the enhanced log messages, but I suspect in our cluster testing we're seeing some gossip for old incarnations of current nodes. Need to log the UID to be sure.

@Aaronontheweb Aaronontheweb merged commit 9f5de84 into akkadotnet:dev Jul 10, 2024
10 of 12 checks passed
@Aaronontheweb Aaronontheweb deleted the harden-ignored-gossip branch July 10, 2024 15:53
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