Initial implementation of "standby promote"

This commit is contained in:
Ian Barwick
2017-05-10 09:24:51 +09:00
parent c61d16def6
commit 51da33a260
4 changed files with 239 additions and 8 deletions

View File

@@ -12,9 +12,9 @@
#define ERR_BAD_CONFIG 1
#define ERR_BAD_RSYNC 2
#define ERR_NO_RESTART 4
#define ERR_DB_CON 6
#define ERR_DB_CONN 6
#define ERR_DB_QUERY 7
#define ERR_PROMOTED 8
#define ERR_PROMOTION_FAIL 8
#define ERR_STR_OVERFLOW 10
#define ERR_FAILOVER_FAIL 11
#define ERR_BAD_SSH 12