diff --git a/repmgrd.c b/repmgrd.c index 80ff5111..d5b48d19 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -919,6 +919,7 @@ do_failover(void) if (!nodes[i].is_visible) continue; + /* if the node is a witness node, skip it */ if (nodes[i].is_witness) continue;