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

feat: config option to not exit when stops leading #2500

Merged
merged 2 commits into from
Aug 19, 2024
Merged

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Aug 18, 2024

No description provided.

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
@csviri csviri self-assigned this Aug 18, 2024
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 18, 2024
@csviri csviri linked an issue Aug 18, 2024 that may be closed by this pull request
Copy link

@adriansuarez adriansuarez left a comment

Choose a reason for hiding this comment

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

@csviri Looks good. Thanks for jumping on this.

This enables my use case described in #2496.

@csviri csviri marked this pull request as ready for review August 18, 2024 16:12
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 18, 2024
…tor/LeaderElectionManager.java

Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>
@csviri csviri merged commit 2d408b3 into next Aug 19, 2024
19 of 20 checks passed
@csviri csviri deleted the le-stop-improvements branch August 19, 2024 06:58
metacosm added a commit that referenced this pull request Aug 29, 2024
* feat: config option to not exit when stops leading

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>

* Update operator-framework-core/src/main/java/io/javaoperatorsdk/operator/LeaderElectionManager.java

Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>

---------

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>
csviri added a commit that referenced this pull request Sep 20, 2024
* feat: config option to not exit when stops leading

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>

* Update operator-framework-core/src/main/java/io/javaoperatorsdk/operator/LeaderElectionManager.java

Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>

---------

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>
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.

LeaderElectionManager invokes System.exit() directly
3 participants