Add delayed query retry prototype

This is a proof-of-concept that validates the query retrying method. The
actual implementation of the query retrying mechanism needs more thought
as using the housekeeper is not very efficient.
This commit is contained in:
Markus Mäkelä
2018-04-01 13:27:30 +03:00
parent e76b00e340
commit 761fda2806
7 changed files with 140 additions and 4 deletions

View File

@ -477,6 +477,8 @@ MXS_MODULE *MXS_CREATE_MODULE()
{"enable_causal_read", MXS_MODULE_PARAM_BOOL, "false"},
{"causal_read_timeout", MXS_MODULE_PARAM_STRING, "0"},
{"master_reconnection", MXS_MODULE_PARAM_BOOL, "false"},
{"query_retry_timeout", MXS_MODULE_PARAM_COUNT, "10"},
{"query_retry_interval", MXS_MODULE_PARAM_COUNT, "0"},
{MXS_END_MODULE_PARAMS}
}
};