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

Open() freeze in rare cases #178

Open
endrx opened this issue Nov 29, 2024 · 0 comments
Open

Open() freeze in rare cases #178

endrx opened this issue Nov 29, 2024 · 0 comments

Comments

@endrx
Copy link

endrx commented Nov 29, 2024

Description

Generally works super, but a couple of times I got a sudden process total freeze (for more than 10 hours).
Last time I investigated the situation via Remote Debugger.

The process execution was frozen deep inside the .Open() here:

Open() >...> ProtocolFormatter.Handshake() (line 97): ReadUInt > ... > ProtocolFormatter.ReadBytes() (line 478):
int num = await _ioStream.ReadAsync(bytes, read, i - read, cToken);

image

UPD: It seems this happens when ClickHouse server is suddenly goes down. But the client stays frozen even after ClickHouse server restoration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant