postgres-operator
postgres-operator copied to clipboard
fix switch over candidate retrieving
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.