[MXS-1689] Error message in case both port and socket are defined is not clear Created: 2018-02-27 Updated: 2020-08-25 Resolved: 2018-03-07 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 2.2.2 |
| Fix Version/s: | 2.2.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Claudio Nanni | Assignee: | Johan Wikman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | MXS-SPRINT-53 |
| Description |
|
When you define both socket and port for a listener you may get the following message: 2018-02-27 13:00:00 error : Listener 'Galera-Listener', for service 'Galera-Service', already have port 7890. And MaxScale will shut down. The actual problem should be that both connection methods are defined: port=7890 The message is misleading so I'd suggest to use a more adequate one like: 2018-02-27 13:00:00 error : Listener 'Galera-Listener', for service 'Galera-Service', Port method already defined, can't have port and socket for the same listener. Apparently prior to 2.2.2 this double listening method definition was not leading to a blocking error. |
| Comments |
| Comment by Johan Wikman [ 2018-03-07 ] | |
|
There will now be a clear error message:
|