Check replication lag before attempting switchover

This commit is contained in:
Ian Barwick
2017-08-08 10:16:47 +09:00
parent fd5dfa2ebc
commit f2cf46bba3
12 changed files with 605 additions and 48 deletions

View File

@@ -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 *
* ---------------------- */