standby follow: improve handling of --upstream-node-id

This commit is contained in:
Ian Barwick
2018-11-22 11:16:44 +09:00
parent 9d1f5c0de3
commit b223cb4cee
4 changed files with 83 additions and 22 deletions

View File

@@ -24,7 +24,7 @@
<para>
This command will force a restart of the standby server, which must be
running. It can only be used to attach an active standby to the current primary node
(and not to another standby).
(and not to another standby).
</para>
<tip>
<para>
@@ -78,6 +78,20 @@
</listitem>
</varlistentry>
<varlistentry>
<term><option>--upstream-node-id</option></term>
<listitem>
<para>
Node ID of the new primary.
</para>
<para>
This option is intended for use by <application>repmgrd</application>, when
instructing standbys to follow the new primary. For more details
see <link linkend="repmgrd-automatic-failover-configuration">Automatic failover configuration</link>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-w</option></term>
<term><option>--wait</option></term>

View File

@@ -36,7 +36,7 @@
<sect2 id="repmgrd-automatic-failover-configuration">
<title>automatic failover configuration</title>
<title>Automatic failover configuration</title>
<para>
If using automatic failover, the following <application>repmgrd</application> options *must* be set in
<filename>repmgr.conf</filename> :

View File

@@ -1 +1 @@
<!ENTITY repmgrversion "4.2dev">
<!ENTITY repmgrversion "4.3dev">