mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 23:56:29 +00:00
Check replication lag before attempting switchover
This commit is contained in:
@@ -427,6 +427,10 @@ main(int argc, char **argv)
|
||||
runtime_options.archiver = true;
|
||||
break;
|
||||
|
||||
case OPT_REPLICATION_LAG:
|
||||
runtime_options.replication_lag = true;
|
||||
break;
|
||||
|
||||
/* "node service" options *
|
||||
* ---------------------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user