From 83f4c02a85e4b3457ba667e4ac31afbcffcb05c3 Mon Sep 17 00:00:00 2001 From: airborne12 Date: Wed, 15 May 2024 23:19:26 +0800 Subject: [PATCH] [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 9714480318e4a0..5727a452bf1d90 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 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);