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

Exit 1 if loosing leadership lease #846

Merged
merged 2 commits into from
Nov 22, 2024
Merged

Conversation

carlhoerberg
Copy link
Member

So that systemd with "restart on failure" restarts it.

WHAT is this pull request doing?

Exit with status 1 if lost leadership without previous graceful shutdown.

HOW can this pull request be tested?

Specs? Manual steps? Please fill me in.

So that systemd with "restart on failure" restarts it.
@viktorerlingsson viktorerlingsson merged commit 19b2652 into main Nov 22, 2024
9 of 19 checks passed
@viktorerlingsson viktorerlingsson deleted the exit1-on-lost-leadership branch November 22, 2024 09:51
kickster97 pushed a commit that referenced this pull request Dec 16, 2024
Exit with status 1 if lost leadership without previous graceful shutdown, so that systemd with "restart on failure" restarts it.
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.

2 participants