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 5ab5ec3d0d8a3ffa25fc30d0e17127d7d3df5857 Author: airborne12 <[email protected]> AuthorDate: Mon May 27 10:03:53 2024 +0800 [Fix](inverted index) fix build index wrong size for inverted index (#35366) --- be/src/olap/task/index_builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/task/index_builder.cpp b/be/src/olap/task/index_builder.cpp index a62763b8af8..3c54a5b5569 100644 --- a/be/src/olap/task/index_builder.cpp +++ b/be/src/olap/task/index_builder.cpp @@ -111,7 +111,6 @@ Status IndexBuilder::update_inverted_index_info() { drop_index_size += index_size; } } - output_rs_tablet_schema->remove_index(t_inverted_index.index_id); } } else { // base on input rowset's tablet_schema to build @@ -274,6 +273,7 @@ Status IndexBuilder::handle_single_rowset(RowsetMetaSharedPtr output_rowset_meta continue; } RETURN_IF_ERROR(inverted_index_file_writer->delete_index(index_meta)); + output_rs_tablet_schema->remove_index(t_inverted_index.index_id); } _inverted_index_file_writers.emplace(seg_ptr->id(), std::move(inverted_index_file_writer)); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
