MXS-1491: Failover can be executed manually

Also, renamed config setting "failover" to "auto_failover". Removed
setting "switchover" as it is now always enabled.
This commit is contained in:
Esa Korhonen
2017-11-28 17:31:13 +02:00
parent 90f6d78a58
commit 508ce3a703
3 changed files with 166 additions and 59 deletions

View File

@ -63,9 +63,8 @@ typedef struct
bool allow_cluster_recovery; /**< Allow failed servers to rejoin the cluster */
bool warn_set_standalone_master; /**< Log a warning when setting standalone master */
bool allow_external_slaves; /**< Whether to allow usage of external slave servers */
bool failover; /**< If master failover is enabled */
bool auto_failover; /**< If automatic master failover is enabled */
uint32_t failover_timeout; /**< Timeout in seconds for the master failover */
bool switchover; /**< If master switchover is enabled */
uint32_t switchover_timeout; /**< Timeout in seconds for the master switchover */
char* replication_user; /**< Replication user for failover */
char* replication_password; /**< Replication password for failover*/