mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
repmgrd: store upstream node ID in shared memory
This commit is contained in:
@@ -878,7 +878,7 @@ monitor_streaming_standby(void)
|
||||
log_verbose(LOG_DEBUG, "checking %s", upstream_node_info.conninfo);
|
||||
if (check_upstream_connection(&upstream_conn, upstream_node_info.conninfo) == true)
|
||||
{
|
||||
set_upstream_last_seen(local_conn);
|
||||
set_upstream_last_seen(local_conn, upstream_node_info.node_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1671,7 +1671,7 @@ monitor_streaming_witness(void)
|
||||
{
|
||||
if (check_upstream_connection(&primary_conn, upstream_node_info.conninfo) == true)
|
||||
{
|
||||
set_upstream_last_seen(local_conn);
|
||||
set_upstream_last_seen(local_conn, upstream_node_info.node_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user