node check: add --missing-slots check

This enables an explicit check for slots which should exist (according
to the repmgr metadata) but which aren't present.
This commit is contained in:
Ian Barwick
2018-06-22 17:19:56 +09:00
parent dd7a4068d2
commit 080a29c33b
6 changed files with 156 additions and 1 deletions

View File

@@ -106,6 +106,7 @@ typedef struct
bool replication_lag;
bool role;
bool slots;
bool missing_slots;
bool has_passfile;
bool replication_connection;
@@ -158,7 +159,7 @@ typedef struct
/* "node status" options */ \
false, \
/* "node check" options */ \
false, false, false, false, false, false, false, \
false, false, false, false, false, false, false, false, \
/* "node join" options */ \
"", \
/* "node service" options */ \