[MXS-1696] local_address does not work when threads > 1 Created: 2018-03-02 Updated: 2020-08-25 Resolved: 2018-03-20 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | N/A |
| Affects Version/s: | 2.2.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Calender (Inactive) | Assignee: | Johan Wikman |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The newer variable, local_address, does not get set when threads > 1. With the following configuration:
Then in the maxscale.log, I see an entry like:
When I increase threads to be > 1:
Then there is no such message in the log. And it is more than not being logged, it is not set at all, afaict, because we see errors like this (it is using the wrong IP address, and not the one specified by "local_address"):
|
| Comments |
| Comment by Johan Wikman [ 2018-03-03 ] |
|
I just tested locally and irrespective of the value of threads, I get that Bound connecting socket message when connecting with a client. I reviewed the code and there does not appear to be anything that would explain different behavior depending on the value of threads. With local_address having been defined and info level messages enabled then, when connecting with a client, there should be one of the following messages:
|
| Comment by Chris Calender (Inactive) [ 2018-03-04 ] |
|
Both myself and the other tester are both using Ubuntu. Not sure if that makes a difference. |
| Comment by Johan Wikman [ 2018-03-05 ] |
|
Should not make a difference and I am also using Ubuntu. |
| Comment by Johan Wikman [ 2018-03-20 ] |
|
The actual problem is described in |