mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 00:46:29 +00:00
Clean up whitespace and comments
This commit is contained in:
@@ -693,7 +693,6 @@ standby_monitor(void)
|
|||||||
|
|
||||||
log_err("%s\n", errmsg.data);
|
log_err("%s\n", errmsg.data);
|
||||||
|
|
||||||
//terminate(ERR_DB_CON);
|
|
||||||
goto continue_monitoring_standby;
|
goto continue_monitoring_standby;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -863,15 +862,14 @@ standby_monitor(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
} while (ret == -1);
|
} while (ret == -1);
|
||||||
|
|
||||||
if (did_retry)
|
if (did_retry)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* There's a possible situation where the standby went down for some reason
|
* There's a possible situation where the standby went down for some reason
|
||||||
* (maintanence for example) and is now up and maybe connected once again to
|
* (maintenance for example) and is now up and maybe connected once again to
|
||||||
* the stream. If we set the local standby node as failed and it's now running
|
* the stream. If we set the local standby node as failed and it's now running
|
||||||
* and receiving replication data, we should activate it again.
|
* and receiving replication data, we should activate it again.
|
||||||
*/
|
*/
|
||||||
@@ -2272,5 +2270,3 @@ get_node_info(PGconn *conn, char *cluster, int node_id)
|
|||||||
|
|
||||||
return node_info;
|
return node_info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user