[MXS-1854] monitor backend database' mysql connect is closed by mxs once in a while Created: 2018-05-04 Updated: 2018-06-21 Resolved: 2018-06-21 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | 2.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | xiangzhong | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
linux + make debug + mysql 5.6.16 |
||
| Attachments: |
|
| Description |
| Comments |
| Comment by markus makela [ 2018-05-04 ] | ||
|
Can you try if adding query_retries=2 into the [maxscale] section helps? Here is an example configuration:
| ||
| Comment by xiangzhong [ 2018-05-04 ] | ||
|
my question is who close this connect, and no any info. | ||
| Comment by markus makela [ 2018-05-04 ] | ||
|
The query is done via the MariaDB Connector/C so the connector would have closed it. | ||
| Comment by dapeng huang [ 2018-05-07 ] | ||
|
It is driver's read timeout | ||
| Comment by xiangzhong [ 2018-05-08 ] | ||
|
yes, @depeng have confirmed: exec "show slave status" excess 1s lead to this problem. but i think this log: | ||
| Comment by markus makela [ 2018-06-21 ] | ||
|
Closing as Not a Bug since this is the expected behavior for a network error. Increasing network timeouts or retry amounts should fix it. |