Skip to content

fix switch over candidate retrieving#2760

Merged
FxKu merged 4 commits into
zalando:masterfrom
fahedouch:fix-asynchronous-get-switchover-candidates-upstream
Nov 1, 2024
Merged

fix switch over candidate retrieving#2760
FxKu merged 4 commits into
zalando:masterfrom
fahedouch:fix-asynchronous-get-switchover-candidates-upstream

Conversation

@fahedouch

@fahedouch fahedouch commented Sep 12, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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
Comment thread pkg/cluster/pod.go Outdated
Comment thread pkg/cluster/pod.go Outdated
@FxKu

FxKu commented Nov 1, 2024

Copy link
Copy Markdown
Contributor

👍

1 similar comment
@macedigital

Copy link
Copy Markdown
Member

👍

@FxKu
FxKu merged commit acdb957 into zalando:master Nov 1, 2024
@FxKu

FxKu commented Nov 1, 2024

Copy link
Copy Markdown
Contributor

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