This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 54bc272abc6 [Fix](inverted index) fix bkd index file is empty error
status (#35280)
54bc272abc6 is described below
commit 54bc272abc681a6892a080bb3bea4d2cd6061c54
Author: airborne12 <[email protected]>
AuthorDate: Fri May 24 20:10:54 2024 +0800
[Fix](inverted index) fix bkd index file is empty error status (#35280)
---
be/src/olap/rowset/segment_v2/inverted_index_reader.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/olap/rowset/segment_v2/inverted_index_reader.cpp
b/be/src/olap/rowset/segment_v2/inverted_index_reader.cpp
index 6b17f2ceeab..5780f04ade9 100644
--- a/be/src/olap/rowset/segment_v2/inverted_index_reader.cpp
+++ b/be/src/olap/rowset/segment_v2/inverted_index_reader.cpp
@@ -933,7 +933,7 @@ Status
BkdIndexReader::get_bkd_reader(std::shared_ptr<lucene::util::bkd::bkd_rea
*bkdReader =
std::make_shared<lucene::util::bkd::bkd_reader>(data_in.release());
if (0 == (*bkdReader)->read_meta(meta_in.get())) {
VLOG_NOTICE << "bkd index file is empty:" <<
_compoundReader->toString();
- return Status::EndOfFile("bkd index file is empty");
+ return Status::Error<ErrorCode::INVERTED_INDEX_FILE_NOT_FOUND>("bkd
index file is empty");
}
(*bkdReader)->read_index(index_in.get());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]