[MXS-4561] Some configuration cause no errors to be logged Created: 2023-03-21  Updated: 2023-04-05  Resolved: 2023-03-23

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 22.08.4, 23.02.1
Fix Version/s: 22.08.5, 23.02.2

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


 Description   

Starting with 22.08, MaxScale will validate most of the configuration very early in the startup process. This means that duplicate sections and duplicate parameter values are detected much earlier. For these types of errors, no log messages are written into the MaxScale log. This causes configuration problems like this to be very hard to detect as repeated restarts of MaxScale do not appear to leave a trace in the systemd journal.

The reason for the missing journal messages might be a separate bug but the fact that no log messages are written makes it a more severe one. Older versions of MaxScale logged errors in the log whenever a problem like this was found. However, they also exhibited much stranger behavior where duplicate values were concatenated to form invalid values.


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