[MXS-838] Drop sessions after server is put into maintenance mode Created: 2016-08-25  Updated: 2016-12-21  Resolved: 2016-12-21

Status: Closed
Project: MariaDB MaxScale
Component/s: readconnroute
Affects Version/s: None
Fix Version/s: 2.1.0

Type: New Feature Priority: Major
Reporter: Michaël de groot Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by MXS-740 More graceful maintenance mode Closed
Sprint: 2016-24

 Description   

Hi,

I believe it is logical and wanted that all sessions to a certain backend server are dropped if that backend server is put into maintenance mode. I have tested if this is the case in ReadConnRoute and it is not, I did not check the more advanced routers.

I think MXS-740 needs to be implemented before this, otherwise there will be (unneeded) downtime when a server is put into maintenance mode.

What do you think?

Cheers,
Michaël



 Comments   
Comment by Michaël de groot [ 2016-08-25 ]

A workaround:
maxadmin set server oldmaster maintenance
maxadmin clear server oldmaster running

now the monitoring is stopped and the connection to it are dropped. It seams a bit hacky though.

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