mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Check replication lag before attempting switchover
This commit is contained in:
@@ -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 */ \
|
||||
|
||||
Reference in New Issue
Block a user