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

app: Don't transfer leadership more than once #200

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

cole-miller
Copy link
Contributor

In the Handover method of App, after successfully transferring leadership to another node, we shouldn't continue looping over other servers and trying to transfer to them. Spotted by @MathieuBordere.

Signed-off-by: Cole Miller cole.miller@canonical.com

Signed-off-by: Cole Miller <cole.miller@canonical.com>
Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

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

Good catch! :)

@MathieuBordere MathieuBordere merged commit c510f9c into canonical:master Sep 7, 2022
@tomponline
Copy link
Member

@MathieuBordere please could you do a new release of this package so we can import it into LXD?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants