Skip to content

fix: allow quorum-based failover with two instances#8680

Merged
armru merged 2 commits intocloudnative-pg:mainfrom
leonardoce:failover-quorum-two-instances
Sep 29, 2025
Merged

fix: allow quorum-based failover with two instances#8680
armru merged 2 commits intocloudnative-pg:mainfrom
leonardoce:failover-quorum-two-instances

Conversation

@leonardoce
Copy link
Contributor

Closes: #8679

@leonardoce leonardoce requested a review from a team as a code owner September 29, 2025 09:53
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.25 release-1.26 release-1.27 labels Sep 29, 2025
@github-actions
Copy link
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@leonardoce leonardoce force-pushed the failover-quorum-two-instances branch from da8b1d8 to 63302f9 Compare September 29, 2025 09:55
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. bug 🐛 Something isn't working ok to merge 👌 This PR can be merged labels Sep 29, 2025
@leonardoce
Copy link
Contributor Author

/test

Closes: cloudnative-pg#8679

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
@leonardoce leonardoce force-pushed the failover-quorum-two-instances branch from 63302f9 to a7ec718 Compare September 29, 2025 10:09
@github-actions
Copy link
Contributor

@leonardoce, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/18093391721

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 29, 2025
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Sep 29, 2025
@armru armru merged commit ad6078d into cloudnative-pg:main Sep 29, 2025
34 checks passed
cnpg-bot pushed a commit that referenced this pull request Sep 29, 2025
Closes: #8679

---------

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
(cherry picked from commit ad6078d)
rossigee pushed a commit to rossigee/cloudnative-pg that referenced this pull request Oct 2, 2025
)

Closes: cloudnative-pg#8679

---------

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
THE-BRAHMA pushed a commit to THE-BRAHMA/cloudnative-pg that referenced this pull request Oct 30, 2025
)

Closes: cloudnative-pg#8679

---------

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: theBrahma <office.utpal.brahma@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases bug 🐛 Something isn't working lgtm This PR has been approved by a maintainer ok to merge 👌 This PR can be merged release-1.27 size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: failoverQuorum requires more than 2 instances

4 participants