From 8fbcaae569134a99ad5a4d5e2f03b8770051c170 Mon Sep 17 00:00:00 2001 From: Esa Korhonen Date: Wed, 7 Feb 2018 15:31:02 +0200 Subject: [PATCH] Add documentation on "servers_no_promotion" --- Documentation/Monitors/MariaDB-Monitor.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/Monitors/MariaDB-Monitor.md b/Documentation/Monitors/MariaDB-Monitor.md index b578117ea..8ca3e45cb 100644 --- a/Documentation/Monitors/MariaDB-Monitor.md +++ b/Documentation/Monitors/MariaDB-Monitor.md @@ -399,6 +399,18 @@ disconnection. For automatic failover to activate, the `failcount` requirement must also be met. +#### `servers_no_promotion` + +This is a comma-separated list of server names that will not be chosen for +master promotion during a failover. This does not affect switchover since in +that case the user selects the server. Using this list can disrupt new master +selection such that an unoptimal server is chosen. At worst, this will cause +replication to break. + +``` +servers_no_promotion=backup_dc_server1,backup_dc_server2 +``` + ### Manual switchover and failover Both failover and switchover can be activated manually through the REST API or