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

@ -74,6 +74,7 @@ typedef struct
bool skip_permission_checks; /**< Skip service and monitor permission checks */
char qc_name[PATH_MAX]; /**< The name of the query classifier to load */
char* qc_args; /**< Arguments for the query classifier */
int query_retries; /**< Number of times a interrupted query is retried */
} MXS_CONFIG;
/**