-
Couldn't load subscription status.
- Fork 1.1k
Akka.Cluster.Tools.Singleton: log the correct oldest member on transition #7309
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.Tools.Singleton: log the correct oldest member on transition #7309
Conversation
…tion Prefer the `OldestChangedBuffer.OldestChanged.PreviousOldest` value when it's available
| if (oldestChanged.NewOldest != null && oldestChanged.NewOldest.Equals(_selfUniqueAddress)) | ||
| { | ||
| Log.Info("Younger observed OldestChanged: [{0} -> myself]", youngerData.Oldest.Head()?.Address); | ||
| Log.Info("Younger observed OldestChanged: [{0} -> myself]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actual bugfix here - the rest are all formatter-driven changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Changes
Prefer the
OldestChangedBuffer.OldestChanged.PreviousOldestvalue when it's available - fixes a leftover bug from the #7298 implementation.Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):