[MXS-4362] Rework startup configuration handling Created: 2022-10-24  Updated: 2022-11-30  Resolved: 2022-11-30

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: N/A
Fix Version/s: 23.02.0

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

Sprint: MXS-SPRINT-169

 Description   

At startup, MaxScale first "sniffs" the main configuration file, primarily in order to detect whether some default directories have been changed, makes initial configurations and starts the threads. Then it reads the configuration anew, this time processing additional static configuration files and runtime changes.
Now that the number of threads can be adjusted at runtime, it leads to MaxScale first creating as many threads as specified in the main configuration file and then later, if the number of threads at an earlier run was decreased, shut down threads. This is non-optimal. Things need to be changed so that no more than the desired number of threads are created at startup.


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