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

Leader election acquire loop should fail if the cluster is not reachable. #1404

Open
sarthakkothari opened this issue Feb 4, 2025 · 0 comments

Comments

@sarthakkothari
Copy link

sarthakkothari commented Feb 4, 2025

Problem:

The leader election acquisition loops currently attempts indefinitely to acquire a leader, even if the cluster is unreachable.

Proposed Solution:

We should introduce a configurable timeout to bail out and fail the leader election process if the cluster is not reachable within a specified time. By default, we can retain the current behavior of indefinite retries, but we should allow users to configure this timeout, either to enable the timeout or to adjust its duration.

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

No branches or pull requests

1 participant