mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Comment fixes and formatting tweaks
This commit is contained in:
11
repmgrd.c
11
repmgrd.c
@@ -749,10 +749,9 @@ standby_monitor(void)
|
|||||||
? "master"
|
? "master"
|
||||||
: "upstream";
|
: "upstream";
|
||||||
|
|
||||||
// ZZZ "5 minutes"?
|
|
||||||
/*
|
/*
|
||||||
* Check if the upstream node is still available, if after 5 minutes of retries
|
* Check that the upstream node is still available
|
||||||
* we cannot reconnect, try to get a new upstream node.
|
* If not, initiate failover process
|
||||||
*/
|
*/
|
||||||
|
|
||||||
check_connection(&upstream_conn, upstream_node_type, upstream_conninfo);
|
check_connection(&upstream_conn, upstream_node_type, upstream_conninfo);
|
||||||
@@ -819,11 +818,9 @@ standby_monitor(void)
|
|||||||
else if (local_options.failover == AUTOMATIC_FAILOVER)
|
else if (local_options.failover == AUTOMATIC_FAILOVER)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* When we returns from this function we will have a new master
|
* When we return from this function we will have a new master
|
||||||
* and a new master_conn
|
* and a new master_conn
|
||||||
*/
|
*
|
||||||
|
|
||||||
/*
|
|
||||||
* Failover handling is handled differently depending on whether
|
* Failover handling is handled differently depending on whether
|
||||||
* the failed node is the master or a cascading standby
|
* the failed node is the master or a cascading standby
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user