From 5e75707d4e7ec11ada629a2c9d4480c0c857e550 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 20 Sep 2022 09:35:19 +0900 Subject: [PATCH] doc: clarify failover behaviour when node priority is zero Make it clear the node will not be promoted under any circumstances. --- doc/repmgrd-configuration.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/repmgrd-configuration.xml b/doc/repmgrd-configuration.xml index 920ab6c0..20a32a1d 100644 --- a/doc/repmgrd-configuration.xml +++ b/doc/repmgrd-configuration.xml @@ -345,14 +345,18 @@ - Indicates a preferred priority (default: 100) for promoting nodes; - a value of zero prevents the node being promoted to primary. + Indicates a preferred priority (default: 100) for promoting nodes. Note that the priority setting is only applied if two or more nodes are determined as promotion candidates; in that case the node with the higher priority is selected. + + A value of zero will always prevent the node being promoted to primary, even if there + is no other promotion candidate. + +