Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mmitkevich opened this issue Aug 12, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@mmitkevich
Copy link

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?

@Enmk Enmk added the bug Something isn't working label Oct 4, 2022
@Enmk Enmk self-assigned this Oct 28, 2022
@rr0gi
Copy link

rr0gi commented Nov 8, 2022

fixed in #205 ?

@1261385937
Copy link
Contributor

Timeout is enable now@Enmk

@Enmk
Copy link
Collaborator

Enmk commented Feb 8, 2023

@mmitkevich can you please confirm is it fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants