Skip to content

Commit

Permalink
[fix](index) fix inverted index compound file entry size int32 overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokang authored Aug 6, 2024
1 parent 5066be6 commit 21a67db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/olap/rowset/segment_v2/inverted_index_file_writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class DorisCompoundFileWriter : LUCENE_BASE {
class FileInfo {
public:
std::string filename;
int32_t filesize;
int64_t filesize;
};

void sort_files(std::vector<FileInfo>& file_infos);
Expand Down Expand Up @@ -95,4 +95,4 @@ class InvertedIndexFileWriter {
size_t _file_size = 0;
};
} // namespace segment_v2
} // namespace doris
} // namespace doris

0 comments on commit 21a67db

Please sign in to comment.