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
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
Null.h
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
PoolFactory.h
PoolWithFailover.cpp Initialize random engine with clock and thread_id 2021-02-24 14:55:16 +03:00
PoolWithFailover.h
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
Types.h
UseQueryResult.cpp
UseQueryResult.h Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00
Value.cpp
Value.h Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00