Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid concurrent updates on the designed primary (cloudnative-pg…
…#5755) This patch fixes a condition where a demoted replica cluster is stuck waiting for the primary to be demoted to a designed primary, due to a concurrent update on the Cluster CR by the operator and the instance manager. The update by the instance manager is now using the update method instead of a patch, relying on the Kubernetes optimistic locking mechanism. Closes: cloudnative-pg#5754 Signed-off-by: Leonardo Cecchi <[email protected]> Co-authored-by: Armando Ruocco <[email protected]>
- Loading branch information