ClickHouse/base/mysqlxx
Alexander Kazakov 63b95c7451
MySQL dictionary source: A mechanism for retrying unexpected connection loss during communication with mysql server (#21237)
* Added a new type of Exception

for better recognition of connection failures

* Added more logging for mysql communication

* Retries on connection loss during query.

Make MySQL dictionary source resilient to unexpected loss of connection
during querying MySQL. This behavior is controlled with
".fail_on_connection_loss" config parameter, which defaults to false.

* Stripped some debugging leftover garbage

* Minor followup corrections

* Corrections after PR comments

* Yet more fixes
2021-02-27 11:18:28 +03:00
..
tests Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00
CMakeLists.txt Remove useless files 2021-02-03 10:03:32 +03:00
Connection.cpp Added "opt_reconnect" parameter to config for controlling MYSQL_OPT_RECONNECT option (#19998) 2021-02-26 09:49:49 +03:00
Connection.h Added "opt_reconnect" parameter to config for controlling MYSQL_OPT_RECONNECT option (#19998) 2021-02-26 09:49:49 +03:00
Exception.cpp Enable extra warnings for base, utils, programs 2020-05-10 01:59:34 +03:00
Exception.h MySQL dictionary source: A mechanism for retrying unexpected connection loss during communication with mysql server (#21237) 2021-02-27 11:18:28 +03:00
mysqlxx.h Fix typos, the last 1% 2020-08-08 04:21:04 +03:00
Null.h Enable extra warnings for base, utils, programs 2020-05-10 01:59:34 +03:00
Pool.cpp MySQL dictionary source: A mechanism for retrying unexpected connection loss during communication with mysql server (#21237) 2021-02-27 11:18:28 +03:00
Pool.h MySQL dictionary source: A mechanism for retrying unexpected connection loss during communication with mysql server (#21237) 2021-02-27 11:18:28 +03:00
PoolFactory.cpp Clang Tidy, part 7 (#9799) 2020-03-23 05:12:31 +03:00
PoolFactory.h Clang Tidy, part 7 (#9799) 2020-03-23 05:12:31 +03:00
PoolWithFailover.cpp Initialize random engine with clock and thread_id 2021-02-24 14:55:16 +03:00
PoolWithFailover.h Enable extra warnings for base, utils, programs 2020-05-10 01:59:34 +03:00
Query.cpp MySQL dictionary source: A mechanism for retrying unexpected connection loss during communication with mysql server (#21237) 2021-02-27 11:18:28 +03:00
Query.h Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00
ResultBase.cpp ISSUES-16835 try fix review comment 2020-12-09 16:19:09 +08:00
ResultBase.h Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00
Row.cpp ISSUES-16835 try fix review comment 2020-12-09 16:19:09 +08:00
Row.h Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00
Transaction.h Move FastMemcpy to contribs (#9219) 2020-03-13 01:26:16 +03:00
Types.h Move FastMemcpy to contribs (#9219) 2020-03-13 01:26:16 +03:00
UseQueryResult.cpp Move FastMemcpy to contribs (#9219) 2020-03-13 01:26:16 +03:00
UseQueryResult.h Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00
Value.cpp Clang Tidy, part 7 (#9799) 2020-03-23 05:12:31 +03:00
Value.h Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00