repmgr: add option --wait-sync for standby register

Causes repmgr to wait for the updated node record to propagate
to the standby before exiting. This can be used to ensure that
actions which depend on the standby's node record being synchronised
(such as starting repmgrd) are not carried out prematurely.

Addresses GitHub #103
This commit is contained in:
Ian Barwick
2016-09-28 14:04:59 +09:00
parent b7f20ee1f7
commit fa10fd8493
5 changed files with 136 additions and 21 deletions

View File

@@ -9,6 +9,9 @@
repmgr: before cloning with pg_basebackup, check that sufficient free
walsenders are available (Ian)
improve "repmgr-auto" Debian package (Gianni)
repmgr: add option `--wait-sync` for `standby register` which causes
repmgr to wait for the registered node record to synchronise to
the standby
3.1.5 2016-08-15
repmgrd: in a failover situation, prevent endless looping when