mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
Add missing field in init_replication_info()
"upstream_node_id" was not being initialised.
This commit is contained in:
@@ -5073,6 +5073,7 @@ init_replication_info(ReplInfo *replication_info)
|
|||||||
replication_info->receiving_streamed_wal = true;
|
replication_info->receiving_streamed_wal = true;
|
||||||
replication_info->wal_replay_paused = false;
|
replication_info->wal_replay_paused = false;
|
||||||
replication_info->upstream_last_seen = -1;
|
replication_info->upstream_last_seen = -1;
|
||||||
|
replication_info->upstream_node_id = UNKNOWN_NODE_ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user