Ensure witness node sets last upstream seen time

This commit is contained in:
Ian Barwick
2019-03-14 10:53:12 +09:00
parent c1d6753081
commit 56d9f5b856
5 changed files with 27 additions and 17 deletions

View File

@@ -559,7 +559,7 @@ int get_replication_lag_seconds(PGconn *conn);
void get_node_replication_stats(PGconn *conn, t_node_info *node_info);
bool is_downstream_node_attached(PGconn *conn, char *node_name);
void set_upstream_last_seen(PGconn *conn);
int get_upstream_last_seen(PGconn *conn);
int get_upstream_last_seen(PGconn *conn, t_server_type node_type);
bool is_wal_replay_paused(PGconn *conn, bool check_pending_wal);
/* BDR functions */