From 5a8741199f8286d2cdcbfd62e631bdfdaada832a Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 11 Apr 2019 11:19:12 +0900 Subject: [PATCH] repmgrd: exclude witness server from followability check --- repmgrd-physical.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgrd-physical.c b/repmgrd-physical.c index d6e67478..b8e662d0 100644 --- a/repmgrd-physical.c +++ b/repmgrd-physical.c @@ -3580,7 +3580,7 @@ do_election(NodeInfoList *sibling_nodes, int *new_primary_id) * to follow it. */ - if (sibling_replication_info.in_recovery == false) + if (sibling_replication_info.in_recovery == false && cell->node_info->type != WITNESS) { bool can_follow;