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

@@ -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>