MXS-1367: Retry interrupted queries

The new `query_retries` parameter controls how many times an interrupted
query is retried. This retrying of interrupted queries will reduce the
rate of false positives that MaxScale monitors detect.
This commit is contained in:
Markus Mäkelä
2017-10-03 01:37:12 +03:00
parent 0cd62c6f29
commit f1f8a4b5b2
7 changed files with 99 additions and 13 deletions

View File

@ -172,6 +172,15 @@ write or modify the data in the backend server. The default is 2 seconds.
auth_write_timeout=10
```
#### `query_retries`
The number of times an interrupted query will be retried. This feature was added
in MaxScale 2.1.10 and is disabled by default.
An interrupted query is any query that is interrupted by a network
error. Connection timeouts will not trigger a reconnection as it is advisable to
increase the timeouts rather than to try timed out queries again.
#### `ms_timestamp`
Enable or disable the high precision timestamps in logfiles. Enabling this adds