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:
@@ -505,6 +505,10 @@ main(int argc, char **argv)
|
||||
runtime_options.downstream = true;
|
||||
break;
|
||||
|
||||
case OPT_UPSTREAM:
|
||||
runtime_options.upstream = true;
|
||||
break;
|
||||
|
||||
case OPT_REPLICATION_LAG:
|
||||
runtime_options.replication_lag = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user