yiguolei commented on code in PR #33900:
URL: https://github.com/apache/doris/pull/33900#discussion_r1572682196


##########
be/src/runtime/query_context.cpp:
##########
@@ -167,6 +168,8 @@ QueryContext::~QueryContext() {
     file_scan_range_params_map.clear();
     obj_pool.clear();
 
+    _exec_env->spill_stream_mgr()->cleanup_query(_query_id);

Review Comment:
   move this method to delay release token at line 147. Because it will access 
io, and may hang.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to