Vasily Nemkov
84fc4ba4c8
Replica recovery fixes
...
* Added a limit on how many errors can replica accumulate
* Decreased default error halving time to 60 seconds
* Made both configurable via settings
* Showing errors count and estimated recovery time for each replica in system.clusters
2019-09-02 17:26:25 +03:00
Konstantin Podshumok
eb31345224
add timeouts to ConnectionPoolWithFailover and use max_tries from settings
2019-06-02 12:43:20 +03:00
VadimPE
867a3ebfae
CLICKHOUSE-3837 fix mistakes
2018-07-25 15:31:47 +03:00
VadimPE
8dfb6806d8
add support for table function in remote() and cluster()
2018-07-24 16:10:34 +03:00
Alexey Zatelepin
b469ef1792
don't use local replica if its delay is unacceptable [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Milovidov
b0b7f1b161
Miscellaneous [#CLICKHOUSE-2].
2017-08-08 23:58:18 +03:00
Alexey Zatelepin
3b33d3fbab
force reconnect by default for connections returned by ConnectionPool [#CLICKHOUSE-3068]
2017-06-14 22:16:19 +03:00
Alexey Zatelepin
c91828e5bf
PR fixes [#CLICKHOUSE-2141]
2017-04-19 21:29:50 +03:00
Alexey Zatelepin
485c58b039
use only ConnectionPoolWithFailover in RemoteBlockInputStream [#CLICKHOUSE-2141]
2017-04-19 20:50:17 +03:00
Alexey Zatelepin
e30dc7c254
check replica delay when getting a connection from ConnectionPoolWithFailover [#CLICKHOUSE-2141]
2017-04-17 22:51:41 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00