This is an automated email from the ASF dual-hosted git repository.
kxiao 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 21a67dba5d8 [fix](index) fix inverted index compound file entry size
int32 overflow #38891 (#38928)
21a67dba5d8 is described below
commit 21a67dba5d87d948fdf4d013fcaf209f0a5d56b8
Author: Kang <[email protected]>
AuthorDate: Tue Aug 6 15:57:09 2024 +0800
[fix](index) fix inverted index compound file entry size int32 overflow
#38891 (#38928)
---
be/src/olap/rowset/segment_v2/inverted_index_file_writer.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/olap/rowset/segment_v2/inverted_index_file_writer.h
b/be/src/olap/rowset/segment_v2/inverted_index_file_writer.h
index 03306110a28..1d17bed4a4a 100644
--- a/be/src/olap/rowset/segment_v2/inverted_index_file_writer.h
+++ b/be/src/olap/rowset/segment_v2/inverted_index_file_writer.h
@@ -51,7 +51,7 @@ private:
class FileInfo {
public:
std::string filename;
- int32_t filesize;
+ int64_t filesize;
};
void sort_files(std::vector<FileInfo>& file_infos);
@@ -95,4 +95,4 @@ private:
size_t _file_size = 0;
};
} // namespace segment_v2
-} // namespace doris
\ No newline at end of file
+} // namespace doris
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]