-
Notifications
You must be signed in to change notification settings - Fork 751
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
bug: flaky logic test failed in macos #6614
Comments
this SQL can not finish
I vaguely remember you mentioned something like this in daily meeting, is it fixed? this happened 7 days ago |
You mean the warehouse for query history? I thinks it's not related to this. |
another related fail in clickhouse handler, in k3d test
|
search for there should be about 3000x2 entries/blocks in system.query_log/QueryLogTable the dequeue is cloned for each select from system.query_log query |
I think we should improve |
A reproducible case in macos:
Server hangs on querying But it only occurs once only after |
it's only occurs in Minio and S3. Adding some debugging code, I found that using async to call opendal to read objects, future will not be scheduled again after returning first pending. Please refer to the following output(same query). CC: @Xuanwo may help. unsuccessful :
successful:
|
I can reproduce this on Archlinux, digging into the cause now. |
After disabling hyper's connection pool, this bug seems resolved: 2022-07-26T06:10:31.038164Z DEBUG databend_query::pipelines::executor::processor_async_task: start poll on worker 0
2022-07-26T06:10:31.038303Z DEBUG databend_query::pipelines::executor::processor_async_task: worker 0 returns Ready
2022-07-26T06:10:31.039863Z DEBUG databend_query::sessions::session_ref: Destroy session cf26978f-c7d1-4c68-8db5-9bbdbbe40778
2022-07-26T06:10:31.040271Z DEBUG databend_query::sessions::query_ctx: Destroy QueryContext
2022-07-26T06:10:31.040543Z DEBUG hyper::proto::h1::io: flushed 152 bytes
2022-07-26T06:10:31.040709Z DEBUG hyper::proto::h1::conn: read eof How about applying this workaround until we find out what happened? impl HttpClient {
/// Create a new http client.
pub fn new() -> Self {
HttpClient(
hyper::Client::builder()
+ .pool_max_idle_per_host(0)
.build(hyper_tls::HttpsConnector::new()),
)
}
} |
Will be fixed by apache/opendal#474 |
Cc @youngsofun @sundy-li @zhang2014, please verify whether #6816 fix this issue or not. |
Search before asking
Version
currently
What's Wrong?
https://github.com/datafuselabs/databend/runs/7322628730?check_suite_focus=true
logic test frequency failed in macos test, like https://github.com/datafuselabs/databend/runs/7322628730?check_suite_focus=true
sql : insert into tbl_01_0002 values(2);
http handler response: INFO:log:response content: {'id': '', 'session_id': None, 'schema': None, 'data': [], 'state': 'Failed', 'error': {'code': 1006, 'message': 'last query on the session not finished'}, 'stats': {'scan_progress': {'rows': 0, 'bytes': 0}, 'write_progress': {'rows': 0, 'bytes': 0}, 'result_progress': {'rows': 0, 'bytes': 0}, 'running_time_ms': 0.0}, 'stats_uri': None, 'final_uri': None, 'next_uri': None, 'kill_uri': None}
cc @youngsofun please take a look.
How to Reproduce?
macos ci is optional now, see it in action pages.
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: