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
The following commit(s) were added to refs/heads/branch-2.1 by this push: new a6e44978111 [opt](inverted index) Add troubleshooting logs (#44182) (#45777) a6e44978111 is described below commit a6e4497811158d54b5348698bd0b22e576c60106 Author: zzzxl <yangs...@selectdb.com> AuthorDate: Wed Dec 25 13:58:01 2024 +0800 [opt](inverted index) Add troubleshooting logs (#44182) (#45777) https://github.com/apache/doris/pull/44182 --- be/src/olap/rowset/segment_v2/inverted_index_searcher.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/be/src/olap/rowset/segment_v2/inverted_index_searcher.cpp b/be/src/olap/rowset/segment_v2/inverted_index_searcher.cpp index 90d455e5754..f8870c5a162 100644 --- a/be/src/olap/rowset/segment_v2/inverted_index_searcher.cpp +++ b/be/src/olap/rowset/segment_v2/inverted_index_searcher.cpp @@ -34,6 +34,9 @@ Status FulltextIndexSearcherBuilder::build(lucene::store::Directory* directory, reader = lucene::index::IndexReader::open( directory, config::inverted_index_read_buffer_size, close_directory); } catch (const CLuceneError& e) { + std::vector<std::string> file_names; + directory->list(&file_names); + LOG(ERROR) << fmt::format("Directory list: {}", fmt::join(file_names, ", ")); return Status::Error<ErrorCode::INVERTED_INDEX_CLUCENE_ERROR>( "FulltextIndexSearcherBuilder build error: {}", e.what()); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org