mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
repmgrd: exclude witness server from followability check
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user