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

Make sure leadership transfer is set back to false in all cases. #493

Conversation

VictorLowther
Copy link
Contributor

Release 1.3.4 introduced a bug that would only call setLeadershipTransferInProgress back to false
when leadership transfer to another node succeeded. In the case where it did not succeed,
leadershipTransferInProgress was left set to true, breaking any callers that relied on it being set back
to false after a failed leadership transfer.

Release 1.3.4 introduced a bug that wound only call setLeadershipTransferInProgress back to false
when leadership transfer to another node succeeded.  In the case where it did not succeed,
leadershipTransferInProgress was left set to true, breaking any callers that relied on it being set back
to false after a failed leadership transfer.
@hashicorp-cla
Copy link

hashicorp-cla commented Mar 8, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@dhiaayachi dhiaayachi left a comment

Choose a reason for hiding this comment

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

Thank you for working on this @VictorLowther.

I think this is a reasonable fix, I won't worry about the gap because it was already present before this.

I will leave this open until early next week to give others the chance to take a look, otherwise I will merge it.

@VictorLowther
Copy link
Contributor Author

@dhiaayachi Just touching base to see if there is an ETA for getting this merged yet.

@dhiaayachi
Copy link
Contributor

@VictorLowther sorry for the delay, I will merge this.

@dhiaayachi dhiaayachi merged commit f2fdbd6 into hashicorp:main Mar 31, 2022
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