EnterpriseDB/repmgr

repmgr replication with multislaves failover is failing

Opened this issue · 1 comments

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.

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