repmgrd: handle failover with two nodes in the primary location

If two nodes were in the primary location, and at least one node in
another location, the non-failed node in the primary location was not
recognising itself as a promotion candidate.

Addresses GitHub #407.
This commit is contained in:
Ian Barwick
2018-03-30 12:02:34 +09:00
parent 28c7737dc0
commit 65371489c6
2 changed files with 10 additions and 0 deletions

View File

@@ -4,6 +4,8 @@
repmgr: poll demoted primary after restart as a standby during a
switchover operation; GitHub #408 (Ian)
repmgrd: fix memory leaks in witness code (AndrzejNowicki, Martín)
repmgrd: handle failover situation with only two nodes in the primary
location, and at least one node in another location; GitHub #407 (Ian)
4.0.4 2018-03-09
repmgr: add "standby clone --recovery-conf-only" option; GitHub #382 (Ian)