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

Replication Manager flag to enable consult each other to build a quorum #72365

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

Shagrat2
Copy link
Contributor

Description of the change

bitnami/postgresql-repmgr

Append env REPMGR_PRIMARY_VISIBILITY_CONSENSUS to repmgr_generate_repmgr_config()

Benefits

repmgr.conf - primary_visibility_consensus
When the primary becomes unavailable in a multi-node cluster, the standbys can consult each other to build a quorum about a failover. This is done by asking each standby about the time it last saw the primary. If a node’s last communication was very recent and later than the time the local node saw the primary, the local node assumes the primary is still available, and does not go ahead with a failover decision.

Possible drawbacks

no

Applicable issues

Additional information

@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Sep 12, 2024
@github-actions github-actions bot removed the triage Triage is needed label Sep 12, 2024
@github-actions github-actions bot removed the request for review from carrodher September 12, 2024 10:40
Copy link
Contributor

@jotamartos jotamartos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM! Thank you for your contribution

@jotamartos jotamartos merged commit 19cf811 into bitnami:main Sep 16, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postgresql-repmgr solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a primary_visibility_consensus flag to postgresql-repmgr
3 participants