mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
doc: clarify repmgrd FAQ item
"priority" must be 0 or greater.
This commit is contained in:
@@ -274,7 +274,7 @@
|
|||||||
<sect2 id="faq-repmgrd-prevent-promotion" xreflabel="Prevent standby from being promoted to primary">
|
<sect2 id="faq-repmgrd-prevent-promotion" xreflabel="Prevent standby from being promoted to primary">
|
||||||
<title>How can I prevent a node from ever being promoted to primary?</title>
|
<title>How can I prevent a node from ever being promoted to primary?</title>
|
||||||
<para>
|
<para>
|
||||||
In `repmgr.conf`, set its priority to a value of 0 or less; apply the changed setting with
|
In <filename>repmgr.conf</filename>, set its priority to a value of <literal>0</literal>; apply the changed setting with
|
||||||
<command><link linkend="repmgr-standby-register">repmgr standby register --force</link></command>.
|
<command><link linkend="repmgr-standby-register">repmgr standby register --force</link></command>.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
|
|||||||
Reference in New Issue
Block a user