[MXS-2807] Add option for connection termination on `stop service` Created: 2019-12-17  Updated: 2020-10-07  Resolved: 2020-10-07

Status: Closed
Project: MariaDB MaxScale
Component/s: REST-API
Affects Version/s: None
Fix Version/s: 6.0.0

Type: New Feature Priority: Major
Reporter: Assen Totin (Inactive) Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-116

 Description   

Stopping the maxscale service (e.g., from maxctrl) does not terminate existing connections. This is rather counter-intuitive and confusing (stopping a module should prevent data flow through it completely). While it may be undesirable to change this default behaviour, it will be quite useful to get a config option that will achieve this - terminate existing connection on maxscale stop.

The same applies when a service is stopped - existing connections still work, which is confusing for a stopped service. Again, having an option to terminate connections when a service is stopped would be quite helpful.



 Comments   
Comment by markus makela [ 2020-08-26 ]

Adding a --force flag to stop service would solve this.

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