This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 0febfc10e4548ea704d3e3f54029996525d8f107
Author: airborne12 <airborn...@gmail.com>
AuthorDate: Wed May 15 23:19:26 2024 +0800

    [Fix](inverted index) fix wrong fs in inverted_index_file_writer (#34903)
---
 be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp 
b/be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp
index 9714480318e..5727a452bf1 100644
--- a/be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp
+++ b/be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp
@@ -52,7 +52,7 @@ Result<DorisFSDirectory*> InvertedIndexFileWriter::open(const 
TabletIndex* index
             (_index_file_dir / _segment_file_name).native(), index_id, 
index_suffix);
 
     bool exists = false;
-    auto st = _fs->exists(lfs_index_path.c_str(), &exists);
+    auto st = _lfs->exists(lfs_index_path.c_str(), &exists);
     if (!st.ok()) {
         LOG(ERROR) << "index_path:" << lfs_index_path << " exists error:" << 
st;
         return ResultError(st);


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

Reply via email to