Add TODO note

This commit is contained in:
Ian Barwick
2015-01-26 22:11:54 +09:00
parent f2309bd0a9
commit f8639a7878

View File

@@ -662,6 +662,10 @@ standby_monitor(void)
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,
local_options.cluster_name,
local_options.node,
@@ -682,7 +686,6 @@ standby_monitor(void)
* l seconds */
if (PQstatus(upstream_conn) != CONNECTION_OK)
{
PQfinish(upstream_conn);