platoneko commented on code in PR #35473:
URL: https://github.com/apache/doris/pull/35473#discussion_r1616742701


##########
be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp:
##########
@@ -40,7 +41,8 @@ Status compact_column(int64_t index_id, 
std::vector<lucene::store::Directory*>&
         }
     })
 
-    lucene::store::Directory* dir = DorisFSDirectoryFactory::getDirectory(fs, 
tmp_path.c_str());
+    lucene::store::Directory* dir =
+            
DorisFSDirectoryFactory::getDirectory(io::global_local_filesystem(), 
tmp_path.data());

Review Comment:
   请教了 @qidaye ,这里应该都是在临时目录下读写的



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