[Fix](inverted index) fix wrong fs in inverted_index_file_writer (#34903)

This commit is contained in:
airborne12
2024-05-15 23:19:26 +08:00
committed by yiguolei
parent dff6171546
commit 0febfc10e4

View File

@ -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);