Change default value of detect_standalone_master

The default value was changed from false to true.
This commit is contained in:
Johan Wikman
2017-12-13 12:51:04 +02:00
parent 6d3e165bb0
commit b6e983c0b5
3 changed files with 9 additions and 3 deletions

View File

@ -139,8 +139,9 @@ External Server, Running` labels will instead get the `Master, Running` labels.
### `detect_standalone_master` ### `detect_standalone_master`
Detect standalone master servers. This feature takes a boolean parameter and is Detect standalone master servers. This feature takes a boolean parameter and
disabled by default. In MaxScale 2.1.0, this parameter was called `failover`. from MaxScale 2.2.1 onwards is enabled by default. Up until MaxScale 2.2.0 it
was disabled by default. In MaxScale 2.1.0, this parameter was called `failover`.
This parameter is intended to be used with simple, two node master-slave pairs This parameter is intended to be used with simple, two node master-slave pairs
where the failure of the master can be resolved by "promoting" the slave as the where the failure of the master can be resolved by "promoting" the slave as the

View File

@ -37,6 +37,11 @@ root@host:~# maxscale --user=root ...
automatically enabled. In MaxScale 2.2.0, if `transaction_safety` was disabled automatically enabled. In MaxScale 2.2.0, if `transaction_safety` was disabled
when `mariadb10_master_gtid` was enabled MaxScale would refuse to start. when `mariadb10_master_gtid` was enabled MaxScale would refuse to start.
### MySQL Monitor
The default value of the configuration parameter `detect_standalone_master` has
been changed from `false` to `true`.
## Dropped Features ## Dropped Features
## New Features ## New Features

View File

@ -126,7 +126,7 @@ MXS_MODULE* MXS_CREATE_MODULE()
{"detect_stale_slave", MXS_MODULE_PARAM_BOOL, "true"}, {"detect_stale_slave", MXS_MODULE_PARAM_BOOL, "true"},
{"mysql51_replication", MXS_MODULE_PARAM_BOOL, "false"}, {"mysql51_replication", MXS_MODULE_PARAM_BOOL, "false"},
{"multimaster", MXS_MODULE_PARAM_BOOL, "false"}, {"multimaster", MXS_MODULE_PARAM_BOOL, "false"},
{"detect_standalone_master", MXS_MODULE_PARAM_BOOL, "false"}, {"detect_standalone_master", MXS_MODULE_PARAM_BOOL, "true"},
{"failcount", MXS_MODULE_PARAM_COUNT, "5"}, {"failcount", MXS_MODULE_PARAM_COUNT, "5"},
{"allow_cluster_recovery", MXS_MODULE_PARAM_BOOL, "true"}, {"allow_cluster_recovery", MXS_MODULE_PARAM_BOOL, "true"},
{"ignore_external_masters", MXS_MODULE_PARAM_BOOL, "false"}, {"ignore_external_masters", MXS_MODULE_PARAM_BOOL, "false"},