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

repmgr replication with multislaves failover is failing #832

Open
Bhagi33 opened this issue Nov 14, 2023 · 1 comment
Open

repmgr replication with multislaves failover is failing #832

Bhagi33 opened this issue Nov 14, 2023 · 1 comment

Comments

@Bhagi33
Copy link

Bhagi33 commented Nov 14, 2023

Hi Team,
I deployed PostgreSql on kubernetes - with One master and 3 slaves in Two ways

  1. with Witness (1 Master , 1 Witness and 2 Slaves)
  2. without witness (1 Master & 3 slaves)

Intial configuration is working as expected with replication.
But when i tried to do failover by stopping the master service...i did slave promote to primary, but other 2 slaves are also trying to become primary..
all the slaves are trying become primary even i manually promoted one of the slave to primary.

Please help in fixing the issue.

@stephan-hahn
Copy link

Hi, looks like you have configured automatic failover. You can pause the repmgr service to temporarily disable it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants