[MXS-2169] Split rejoin to two operations, add "enforce_simple_topology"-option Created: 2018-11-15  Updated: 2019-07-01  Resolved: 2019-07-01

Status: Closed
Project: MariaDB MaxScale
Component/s: mariadbmon
Affects Version/s: 2.3
Fix Version/s: 2.4.0

Type: Task Priority: Major
Reporter: Esa Korhonen Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MXS-2120 Maxscale doesn't detect master and do... Closed
is blocked by MXS-2168 Add "assume_unique_hostnames" option ... Closed
Sprint: MXS-SPRINT-71, MXS-SPRINT-72, MXS-SPRINT-79, MXS-SPRINT-80, MXS-SPRINT-81, MXS-SPRINT-82

 Description   

The current "auto_rejoin" is too general as it does two things: rejoins standalone masters and also forces a 1-Master-N-slaves topology. These should be separated. Rejoin should only rejoin master servers which MaxScale saw going down and were failed over. This feature can work for arbitrary topologies.

Another option, "enforce_simple_topology", lets MaxScale assume that the topology should be one master with N slaves replicating from it (no relays, multimaster etc). This would allow for a similar aggressive rejoin which is currently implemented. Even the failover of a master which went down while MaxScale was off may be best moved to this feature, as it would be a bit like autopiloting. By activating this feature, a DBA gives MaxScale the liberty to manage the cluster as it seems fit. When this feature is not on, the monitor is more careful, preserves the topology if possible and only performs operations when it can be reasonably sure it's the right thing to do.


Generated at Thu Feb 08 04:12:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.