repmgr: cluster check commands - non-zero exit code if node(s) unavailable

Return ERR_CLUSTER_CHECK if one or nodes was not reachable.

Implements GitHub #447.
This commit is contained in:
Ian Barwick
2018-06-11 12:39:35 +09:00
parent 00704913a6
commit 3b0cde2846
7 changed files with 117 additions and 20 deletions

View File

@@ -46,5 +46,6 @@
#define ERR_SWITCHOVER_INCOMPLETE 22
#define ERR_FOLLOW_FAIL 23
#define ERR_REJOIN_FAIL 24
#define ERR_CLUSTER_CHECK 25
#endif /* _ERRCODE_H_ */