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

fix switch over candidate retrieving #2760

Conversation

fahedouch
Copy link
Contributor

@fahedouch fahedouch commented Sep 12, 2024

fixe issue.

When asynchronous mode is enabled and no candidates are found, no retry is currently triggered to fetch a switchover candidate from the Patroni API. This PR enables retry for asynchronous mode, similar to synchronous mode.

Signed-off-by: fahed dorgaa <fahed.dorgaa.ext@corp.ovh.com>
@fahedouch fahedouch force-pushed the fix-asynchronous-get-switchover-candidates-upstream branch from c5173e3 to ce91e5f Compare September 12, 2024 21:31
@Falcondevils
Copy link

Need this fix. I am facing the same issue

@FxKu FxKu added this to the 1.14.0 milestone Nov 1, 2024
@FxKu FxKu added the bugfix label Nov 1, 2024
pkg/cluster/pod.go Outdated Show resolved Hide resolved
pkg/cluster/pod.go Outdated Show resolved Hide resolved
@FxKu
Copy link
Member

FxKu commented Nov 1, 2024

👍

1 similar comment
@macedigital
Copy link
Member

👍

@FxKu FxKu merged commit acdb957 into zalando:master Nov 1, 2024
6 checks passed
@FxKu
Copy link
Member

FxKu commented Nov 1, 2024

Thanks @fahedouch for your contribution and improving the operator experience 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants