ClickHouse / clickhouse-java

ClickHouse Java Clients & JDBC Driver
https://clickhouse.com
Apache License 2.0
1.45k stars 535 forks source link

[client-v2] Failover #1838

Open chernser opened 1 month ago

chernser commented 1 month ago

Description

This issue is about adding failover support for client-v2. It should implement support of adding several endpoint that support same level of security (if first added endpoint is SSL and next ones should be, too) and all endpoint will use same configurations including credentials. Client will choose another node when "recoverable" error happens and will re-send request.

There are some limitations: