xinyiZzz opened a new pull request #5768: URL: https://github.com/apache/incubator-doris/pull/5768
## Proposed changes The cause of the problem is that after query cancel, OlapScanNode::transfer_thread still continues to schedule OlapScanNode::scanner_thread until all tasks are scheduled. Although each task does not scan data in scanner_thread and exits quickly, it still consumes a lot of resources So after query cancel, immediately exit the scheduling loop in transfer_thread, and after waiting for the end of all scanner_threads, transfer_thread will also exit. ## Types of changes - [x] Bugfix (non-breaking change which fixes an issue) ## Checklist - [x] I have created an issue on (Fix #5767) and described the bug/feature there in detail -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
