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

Socket hang up while trying to connect with Clickhouse after updating cube to v.0.36.0 or higher #8942

Open
MarlousKottenhagen opened this issue Nov 11, 2024 · 4 comments
Labels
driver:clickhouse Issues related to the ClickHouse driver question The issue is a question. Please use Stack Overflow for questions.

Comments

@MarlousKottenhagen
Copy link

Describe the bug
After updating cubejs to v0.36.0 or higher we are experiencing socket hang up errors while trying to connect to clickhouse.

These errors occur while we query clickhouse on a large dataset ( > 3 million rows). When using cube 0.35.81 or lower the same query does not give us any issues.

We are able to reproduce the issue on our kubernetes cluster and locally using docker containers.

Version:
cubejs: v0.36.0 and higher
clickhouse

Additional context
We tried updating both cubejs and clickhouse to their latest version.

@Mhs-220
Copy link

Mhs-220 commented Nov 12, 2024

We also faced the same issue.
On a related note, we have another error next to socket: hang up which is also new:
Error: Code: 373. DB::Exception: Session 339a700f-2005-47e2-9ad8-752a401ddb6f is locked by a concurrent client. (SESSION_IS_LOCKED) (version 24.8.1.10338 (official build))

@igorlukanin
Copy link
Member

@Mhs-220 Is this the same issue? #7906

@MarlousKottenhagen I feel like we need to wait for this PR to be merged and released as it might drastically improve how Cube works with ClickHouse: #8928

@igorlukanin igorlukanin added question The issue is a question. Please use Stack Overflow for questions. driver:clickhouse Issues related to the ClickHouse driver labels Nov 12, 2024
@Mhs-220
Copy link

Mhs-220 commented Nov 13, 2024

Yes, @igorlukanin it's the same. But, interestingly, this happened after our cube cloud was updated to v1; before that, we didn't have this issue.

Thanks a lot, we will wait for the PR to be merged and test it again.

@MarlousKottenhagen
Copy link
Author

@igorlukanin Thanks for the answer, we will also wait for the PR to be merged and test it again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
driver:clickhouse Issues related to the ClickHouse driver question The issue is a question. Please use Stack Overflow for questions.
Projects
None yet
Development

No branches or pull requests

3 participants