Sema Checherinda
Sema Checherinda
I confused with you problem with starting proxy. Clickhouse could start with no requests to the s3-disk if it has no tables on it. Clickhouse starts. Minio starts after. Proxy...
> I thought maybe having a directory inside the test directory containing all files and loop over those on docker-compose would do the trick, but there is an extra case...
> Aha, ClickHouse does not talk to S3, but it builds the S3Client, which depends on proxy configuration. Which means it tries to resolve the proxy configuration and the http...
We made wrapper `doRequestWithRetryNetworkErrors` because AWS S3 unable to catch and retry `ConnectionResetException`. It happens when SDK reads XML. It just a bug in sdk, we mitigated that. However, I...
It is good guess about packet loss when client closes the connection. But I doubt that it could happen often. FIN packages are retransmitted. https://stackoverflow.com/questions/35387206/does-tcp-treats-fin-retransmission-like-a-normal-segement-retransmission It more likely could be...
> Seems that the tcp_keep_alive_timeout is not configured to the tcp socket. > https://github.com/ClickHouse/ClickHouse/blob/master/src/Server/TCPHandler.cpp#L252-L254 We handle timeout for tcp connection here: https://github.com/ClickHouse/ClickHouse/blob/0ebca16da0b5bfd45c59cc1d15e4a9d6b03e7d14/src/Server/TCPHandler.cpp#L322-L330 tcp_keep_alive_timeout does not bring any value to track...
Could you tell me please actual value of `receive_timeout` on your cluster? After accept call server calls receiveBytes on socket. That operations could hung up to `receive_timeout`.
I have made a simple experiment. `cat > /dev/tcp/localhose/9000` -- that command connects to the server and remains silent. That connection is timeouted after `receive_timeout` when server tries to read...
> What needs to be confirmed now is whether the implementation of tcp keep alive in clickhouse has a bug. We just do not use tcp keep alive for the...
Actually idea what I see in the code is good. I like it. But the description did not help me to understand that idea fast. Please write what you did...