mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Add TODO note
This commit is contained in:
@@ -662,6 +662,10 @@ standby_monitor(void)
|
|||||||
terminate(1);
|
terminate(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ZZZ if connected to cascading standby, check primary conn too;
|
||||||
|
// if original primary has gone away we'll need to get the new one
|
||||||
|
// from the upstream node to write monitoring information
|
||||||
|
|
||||||
upstream_conn = get_upstream_connection(my_local_conn,
|
upstream_conn = get_upstream_connection(my_local_conn,
|
||||||
local_options.cluster_name,
|
local_options.cluster_name,
|
||||||
local_options.node,
|
local_options.node,
|
||||||
@@ -682,7 +686,6 @@ standby_monitor(void)
|
|||||||
* l seconds */
|
* l seconds */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (PQstatus(upstream_conn) != CONNECTION_OK)
|
if (PQstatus(upstream_conn) != CONNECTION_OK)
|
||||||
{
|
{
|
||||||
PQfinish(upstream_conn);
|
PQfinish(upstream_conn);
|
||||||
|
|||||||
Reference in New Issue
Block a user