larryju opened a new issue #8222:
URL: https://github.com/apache/incubator-doris/issues/8222


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   0.15.0
   
   ### What's Wrong?
   
   执行查询时,扫描数据的线程会一直处于wait状态,无法被唤醒
   
   通过pstack命令查看有如下线程一直处于wait:
   Thread 3 (Thread 0x7fd7bb4ab700 (LWP 6315)):
   #0  0x00007fd85be7a965 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
   #1  0x000000000389913c in 
std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   #2  0x0000000001a67e39 in 
doris::OlapScanNode::transfer_thread(doris::RuntimeState*) () 
at../src/exec/olap_scan_node.cpp:1458
   #3  0x0000000003907400 in execute_native_thread_routine ()
   #4  0x00007fd85be76dd5 in start_thread () from /lib64/libpthread.so.0
   #5  0x00007fd85b89e02d in clone () from /lib64/libc.so.6
   
   
   手动取消查询后,be节点会重复输出日志:
   [plan_fragment_executor.cpp:507] cancel(): fragment_instance_id xxxxxxxx
   
   注:该情况在tablet 数据量 过大的时候更容易出现(建表的时候没有选择范围分区,只作了分桶;修改表结构,按day分区以后则查询正常)
   
   
   ### What You Expected?
   
   除了代码层面的bug 和 建表方式以外,可以通过配置参数避免这个问题么?
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to