repmgr: improve "standby switchover" completion checks

There were some corner cases where "repmgr standby switchover"
would erroneously report a successful switchover, even if the
demotion candidate had not reattached to the promotion candidate.

Also improve the logging in various places to make it clearer
what is happening on which node.
This commit is contained in:
Ian Barwick
2020-02-04 15:35:37 +09:00
parent 7ed0a99d70
commit 6f01c54620
3 changed files with 108 additions and 16 deletions

View File

@@ -8,6 +8,7 @@
repmgr: report error code on follow/rejoin failure due to non-available
replication slot (Ian)
repmgr: ensure "node rejoin" checks for available replication slots (Ian)
repmgr: improve "standby switchover" completion checks
5.0 2019-10-15
general: add PostgreSQL 12 support (Ian)