[MXS-2427] namedserverfilter fails to direct query if first server listed in targetXY is in maintenance mode Created: 2019-04-06 Updated: 2020-08-25 Resolved: 2019-05-08 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | 2.3.5 |
| Fix Version/s: | 2.3.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Calender (Inactive) | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | MXS-SPRINT-80, MXS-SPRINT-81 |
| Description |
|
The namedserverfilter fails to direct query if 1st server listed in targetXY is in maintenance mode (or probably otherwise unreachable).
server2 and server3 are both slaves. If both server2 and server3 are running, then queries to port 4006 (listening port of RWSplitter) work fine. If I place server3 (the second listed in targetXY), then it also works fine, and the query is directed to server2. However, if I place server2 (the first listed in targetXY) into maintenance mode:
Then the query fails:
And I see this in the error log:
It seems like it should attempt other servers listed instead of failing after only checking the first server listed. |