[MXS-2622] Run MHD tasks in an independent thread Created: 2019-08-02  Updated: 2019-10-15  Resolved: 2019-10-14

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 2.2
Fix Version/s: 2.5.0

Type: Task Priority: Major
Reporter: lishubing Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None

Epic Link: User Interface
Sprint: MXS-SPRINT-90, MXS-SPRINT-91, MXS-SPRINT-92

 Description   

MHD tasks are now run in worker#0, which is already used by many other modules like logging and maxadmin. That make API server unstable.

My scenario is, somehow the disk crashed, and the logging task just hung when writing file to disk, that made the worker#0 stopped working. I wanted to restart service by calling API interface, but worker#0 did not respond to any command. If MHD tasks run in an independent thread, at least I got a chance to rescue.

As API server is a vital part of DevOps, will you guys consider to run MHD tasks in an independent thread?


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