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

cmd/core: step down from leader election immediately #4859

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

sttts
Copy link
Contributor

@sttts sttts commented Oct 20, 2023

Description of your changes

Avoid an up to 60s lease timeout outage when Crossplane restart (e.g. due to upgrade or changes on configuration).

I have:

  • Read and followed Crossplane's contribution process.
  • Added or updated unit tests.
  • Added or updated e2e tests, if necessary. (check with reviewers/maintainers if you're unsure whether E2E tests are necessary for the change).
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR, if necessary.
  • Opened a PR updating the docs, if necessary.

Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@upbound.io>
Copy link
Contributor

@phisco phisco left a comment

Choose a reason for hiding this comment

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

looking good! 🎉

@phisco
Copy link
Contributor

phisco commented Oct 20, 2023

noticed some strange behaviour while testing it further, I'll doublecheck

@phisco phisco self-requested a review October 20, 2023 13:22
Copy link
Contributor

@phisco phisco left a comment

Choose a reason for hiding this comment

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

no, the issues were unrelated, I'll investigate them further separately

@negz negz merged commit 23215b7 into crossplane:master Oct 20, 2023
16 checks passed
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