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

@@ -92,6 +92,7 @@ typedef struct
/* "node check" options */
bool archiver;
bool replication_lag;
/* "node service" options */
char action[MAXLEN];
@@ -134,7 +135,7 @@ typedef struct
/* "node status" options */ \
false, \
/* "node check" options */ \
false, \
false, false, \
/* "node service" options */ \
"", false, false, false, \
/* "cluster event" options */ \