[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:
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. |