Make Slave of External Server status configurable

The assignment of the Slave status with Slave of External Server can now
be controlled with the allow_external_slaves parameter.
This commit is contained in:
Markus Mäkelä
2017-06-29 10:56:15 +03:00
parent 1f8072f3d6
commit fd9a08b9f4
3 changed files with 32 additions and 5 deletions

View File

@ -201,6 +201,19 @@ external agent that automatically reintegrates failed servers into the
cluster. One of these agents is the _replication-manager_ which automatically
configures the failed servers as new slaves of the current master.
### `allow_external_slaves`
Allow the use of external slaves. This option is enabled by default.
If a slave server is replicating from a master that is not being monitored by
the MySQL monitor, the slaves will be assigned the _Slave of External Server_
status (a status mainly for informational purposes).
When the `allow_external_slaves` option is enabled, the server will also be
assigned the _Slave_ status which allows them to be used like normal slave
servers. When the option is disabled, the servers will only receive the _Slave
of External Server_ status and they will not be used.
### `journal_max_age`
The maximum journal file age in seconds. The default value is 28800 seconds.