clickhouse-cpp
clickhouse-cpp copied to clipboard
when clickhouse-server died, clickhouse-cpp hang in recv while doing Insert
recv
clickhouse::SocketInput::DoRead(void*, unsigned long)
clickhouse::BufferedInput::DoRead(void*, unsigned long)
clickhouse::CodedInputStream::ReadVarint64(unsigned long*)
clickhouse::Client::Impl::ReceivePacket(unsigned long*)
clickhouse::Client::Impl::Insert(basic_string<char, char_traits<char>, allocator<char> > const&, clickhouse::Block const&)
Could it be related to SO_RCVTIMEO? Is there any way to adjust the read timeout in the API?
fixed in https://github.com/ClickHouse/clickhouse-cpp/pull/205 ?
Timeout is enable now@Enmk
@mmitkevich can you please confirm is it fixed?