[MXS-1469] Galeramon: Server-side initiated maintenance mode Created: 2017-10-11  Updated: 2019-04-25  Resolved: 2019-04-25

Status: Closed
Project: MariaDB MaxScale
Component/s: galeramon
Affects Version/s: None
Fix Version/s: 2.3.7

Type: New Feature Priority: Major
Reporter: Michaël de groot Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None


 Description   

Hi,

It would be useful to do (sort of) graceful failover of a galera node from the server's side. This is useful in case we want to do scheduled maintenance on the machine, for example automated install of os security packages. It is complicated to login to each maxscale instance so it would be very useful to handle this from just the MariaDB instance that is taken down.

Please add some features in galeramon:
When a server has wsrep_desync (config) enabled, remove the 'Master' and 'Slave' flags. Or maybe even the 'Synced' flag but I don't know what side effects that has.
Also nice to have: When a galera node gets the 'read_only' flag, the 'Master' flag should be removed.

Thank you,
Michaël



 Comments   
Comment by markus makela [ 2018-03-13 ]

This part could be considered a bug in the monitor:

Also nice to have: When a galera node gets the 'read_only' flag, the 'Master' flag should be removed.

Comment by markus makela [ 2019-04-25 ]

Fixed by https://github.com/mariadb-corporation/MaxScale/pull/192

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