Add support for Galera xtrabackup donor availability

This commit is contained in:
Guillaume Lefranc
2015-04-20 14:45:03 +02:00
parent bf83ce9db3
commit 060ebc3880
4 changed files with 49 additions and 3 deletions

View File

@ -435,6 +435,7 @@ backend_write_timeout=2
# galeramon specific options
disable_master_failback=0
available_when_donor=0
```
#### `module`
@ -499,6 +500,12 @@ The server status field may have the `SERVER_MASTER_STICKINESS` bit, meaning the
Anyway, a new master will be selected in case of current master failure, regardless the option value.
#### `available_when_donor`
This option if set to 1 will allow Galera monitor to keep a node in `Donor` status in the server pool if it is using any xtrabackup method for SST, e.g. `wsrep_sst_method` equal to `xtrabackup` or `xtrabackup-v2`.
As xtrabackup is a non-locking SST method, a node in `Donor` status can still be considered in sync. This option is not enabled by default and should be used as the administrator's discretion.
#### `backend_connect_timeout`
This option, with default value of `3` sets the monitor connect timeout to backends.