[MXS-4665] Listener creation error is misleading Created: 2023-07-06  Updated: 2023-07-12  Resolved: 2023-07-12

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.5.27, 6.4.8, 22.08.7, 23.02.3

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


 Description   

If a listener is created but it fails to listen on the configured port, the error is reported as:

MXB_ERROR("Listener '%s' was created but failed to start it.", name);

This is misleading as the listener is destroyed immediately after this. The error message should not mention the creation at all as starting it is a part of creating.

In addition, the listener configuration is persisted before the starting is attempted. This means that a potentially faulty configuration is persisted on disk.


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