mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
node check: add --upstream option
We have a --downstream option to check for attached nodes, but it would be useful to have a corresponding --upstream option too. A following patch will adapt the behaviour of this option when executed on the primary node.
This commit is contained in:
@@ -111,6 +111,7 @@ typedef struct
|
||||
/* "node check" options */
|
||||
bool archive_ready;
|
||||
bool downstream;
|
||||
bool upstream;
|
||||
bool replication_lag;
|
||||
bool role;
|
||||
bool slots;
|
||||
@@ -171,7 +172,7 @@ typedef struct
|
||||
/* "node status" options */ \
|
||||
false, \
|
||||
/* "node check" options */ \
|
||||
false, false, false, false, false, false, false, false, false, false, \
|
||||
false, false, false, false, false, false, false, false, false, false, false, \
|
||||
/* "node rejoin" options */ \
|
||||
"", \
|
||||
/* "node service" options */ \
|
||||
|
||||
Reference in New Issue
Block a user