-
Notifications
You must be signed in to change notification settings - Fork 46
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
ExtractTablesMapping's DESCRIBE query times out #184
Comments
@hekike How many workers are you running in parallel & can you show the output from the query log |
We chatted with @mzitnik offline but couldn't figure out root cause. |
I think the issue here sending lots of describe queries simultaneously with an HTTP connection. We are receiving a similar issue, instead of timeout. Clickhouse starts to refuse new HTTP connections somehow although there is no limit. But if we open the connectors one by one, (in other words not sending lots of describe tables simultaneously) Here is a patched file to resolve HTTP connection issues. Maybe that can be the also upper issue's cause.
|
Describe the bug
We see every 5-10 minutes,
DESCRIBE
queries timeout in Kafka Connect while they have 1ms execution_duration insystem.query_log
. We run our connector task withtableRefreshInterval=15
. Based onsystem.query_log
multipleextractTablesMapping
overlap. I'm also seeing thatSHOW TABLES
queries shouldn't run less frequently than 15s runs. I'm wondering if we should add a check that doesn't startExtractTablesMapping
if it's already running.Steps to reproduce
tableRefreshInterval=15
Expected behavior
DESCRIBE
query not to timeout.Error log
Configuration
Environment
ClickHouse server
CREATE TABLE
statements for tables involved: -cc @mzitnik
The text was updated successfully, but these errors were encountered: