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


##########
be/src/exec/spill/spill_file_manager.cpp:
##########
@@ -345,278 +499,300 @@ void SpillFileManager::delete_spill_file(SpillFileSPtr 
spill_file) {
 
 void SpillFileManager::delete_query_spill_directory(const std::string& 
query_id,
                                                     SpillDataDir* data_dir) {
-    PendingQuerySpillDirectory pending_directory {
-            .query_dir = data_dir->get_spill_data_path(query_id),
+    if (data_dir->is_remote()) {

Review Comment:
   QueryContext::~QueryContext()
     → delete_query_spill_directory(query_id, data_dir).
   
   这个代码,我们整体都不要再query context 析构的时候同步做了,都改成异步的吧



-- 
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