ClickHouse / ClickHouse/clickhouse-cpp

when clickhouse-server died, clickhouse-cpp hang in recv while doing Insert

Open
#209 3 comments 0 reactions 1 assignee Claimed by @Enmk View on GitHub
bug
Dominant language
C
Stars
382
Forks
209
Avg merge
3h 58m
Merged PRs (30d)
12

Description

```
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, allocator > const&, clickhouse::Block const&)
```

Could it be related to SO_RCVTIMEO?
Is there any way to adjust the read timeout in the API?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.