diff --git a/repmgrd-physical.c b/repmgrd-physical.c index 65e2b53c..3948f688 100644 --- a/repmgrd-physical.c +++ b/repmgrd-physical.c @@ -3558,6 +3558,11 @@ promote_self(void) return FAILOVER_STATE_PROMOTION_FAILED; } + /* + * Promotion has succeeded - verify local connection is still available + */ + try_reconnect(&local_conn, &local_node_info); + /* bump the electoral term */ increment_current_term(local_conn);