[MXS-212] Stopped services accept connections Created: 2015-06-21  Updated: 2015-06-23  Resolved: 2015-06-23

Status: Closed
Project: MariaDB MaxScale
Component/s: Core, maxadmin
Affects Version/s: 1.1.1
Fix Version/s: 1.2.0

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None
Environment:

Fedora 21


Attachments: File MaxScale.cnf    

 Description   

Issuing a shutdown service command through maxadmin will appear to succeed and even the show service output will list the service as stopped. The service will still accept connections and will work as it would if the shutdown service command had not been executed.

Steps to reproduce:

  1. Start MaxScale with the attached configuration
  2. Send shutdown service RWSplit through MaxAdmin
  3. Connect to the service


 Comments   
Comment by markus makela [ 2015-06-21 ]

The listener DCB is now properly closed instead of just being removed from the poll set.

Comment by markus makela [ 2015-06-23 ]

Instead of closing the DCB, it is removed from the poll set. The connections are left unaccepted until the service has been restarted again. This will allow for uninterrupted configuration reload with MXS-70.

Comment by markus makela [ 2015-06-23 ]

Merged into develop.

Generated at Thu Feb 08 03:57:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.