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 b568702d6a9 [fix](index compaction)Change index_id from int32 to int64 to avoid overflow (#36625) b568702d6a9 is described below commit b568702d6a9c852585305591aea1f12d116ae3be Author: qiye <jianliang5...@gmail.com> AuthorDate: Thu Jun 20 22:39:47 2024 +0800 [fix](index compaction)Change index_id from int32 to int64 to avoid overflow (#36625) master is fix by #30145 --- be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp | 2 +- be/src/olap/rowset/segment_v2/inverted_index_compaction.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp b/be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp index b04edd6eb83..38d24c14c5b 100644 --- a/be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp +++ b/be/src/olap/rowset/segment_v2/inverted_index_compaction.cpp @@ -24,7 +24,7 @@ #include "util/debug_points.h" namespace doris::segment_v2 { -Status compact_column(int32_t index_id, int src_segment_num, int dest_segment_num, +Status compact_column(int64_t index_id, int src_segment_num, int dest_segment_num, std::vector<std::string> src_index_files, std::vector<std::string> dest_index_files, const io::FileSystemSPtr& fs, std::string index_writer_path, std::string tablet_path, diff --git a/be/src/olap/rowset/segment_v2/inverted_index_compaction.h b/be/src/olap/rowset/segment_v2/inverted_index_compaction.h index f615192b199..bfcf1b1b616 100644 --- a/be/src/olap/rowset/segment_v2/inverted_index_compaction.h +++ b/be/src/olap/rowset/segment_v2/inverted_index_compaction.h @@ -25,7 +25,7 @@ namespace doris { namespace segment_v2 { -Status compact_column(int32_t index_id, int src_segment_num, int dest_segment_num, +Status compact_column(int64_t index_id, int src_segment_num, int dest_segment_num, std::vector<std::string> src_index_files, std::vector<std::string> dest_index_files, const io::FileSystemSPtr& fs, std::string index_writer_path, std::string tablet_path, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org