Skip to content

Commit

Permalink
[Fix](table size) Fix MoW table merge data fault (apache#40880)
Browse files Browse the repository at this point in the history
Issue apache#40879 step 1
  • Loading branch information
Yukang-Lian authored Sep 19, 2024
1 parent 53fdd9e commit 07a5362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions be/src/olap/rowset/rowset_meta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ void RowsetMeta::merge_rowset_meta(const RowsetMeta& other) {
set_num_segments(num_segments() + other.num_segments());
set_num_rows(num_rows() + other.num_rows());
set_data_disk_size(data_disk_size() + other.data_disk_size());
set_total_disk_size(total_disk_size() + other.total_disk_size());
set_index_disk_size(index_disk_size() + other.index_disk_size());
for (auto&& key_bound : other.get_segments_key_bounds()) {
add_segment_key_bounds(key_bound);
Expand Down

0 comments on commit 07a5362

Please sign in to comment.