doc: mention not to use --siblings-follow in the repmgrd promote command

This is noted on the "repmgr standby promote" page but needs repeating
on the repmgrd configuration page.
This commit is contained in:
Ian Barwick
2019-08-13 11:36:15 +09:00
parent 75c0987e79
commit d0f5ee1851
2 changed files with 12 additions and 1 deletions

View File

@@ -171,7 +171,7 @@
be possible to follow the new upstream node, and &repmgr; will emit an error
message like this:
<programlisting>
ERROR: this node cannot attach to follow target node 3
ERROR: this node cannot attach to follow target node &quot;node3&quot; (ID 3)
DETAIL: follow target server's timeline 2 forked off current database system timeline 1 before current recovery point 0/6108880</programlisting>
</para>
<para>

View File

@@ -222,6 +222,17 @@
Normally <option>promote_command</option> is set as &repmgr;'s
<command><link linkend="repmgr-standby-promote">repmgr standby promote</link></command> command.
</para>
<note>
<para>
When invoking <command>repmgr standby promote</command> (either directly via
the <option>promote_command</option>, or in a script called
via <option>promote_command</option>), <option>--siblings-follow</option>
<emphasis>must not</emphasis> be included as a
command line option for <command>repmgr standby promote</command>.
</para>
</note>
<para>
It is also possible to provide a shell script to e.g. perform user-defined tasks
before promoting the current node. In this case the script <emphasis>must</emphasis>