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

@@ -45,6 +45,20 @@
</para>
</sect2>
<sect2>
<title>General improvements</title>
<para>
<itemizedlist>
<listitem>
<para>
<link linkend="repmgr-standby-follow"><command>repmgr standby follow</command></link>:
Improve logging and checking of potential failure situations.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>
<sect2>
<title>Bug fixes</title>
<para>