This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 07a536226ef [Fix](table size) Fix MoW table merge data fault (#40880)
07a536226ef is described below
commit 07a536226ef00c1b5ddf1aa58dea3df26104d4e6
Author: abmdocrt <[email protected]>
AuthorDate: Thu Sep 19 21:29:58 2024 +0800
[Fix](table size) Fix MoW table merge data fault (#40880)
Issue #40879 step 1
---
be/src/olap/rowset/rowset_meta.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/be/src/olap/rowset/rowset_meta.cpp
b/be/src/olap/rowset/rowset_meta.cpp
index 2bc5a6cef85..f053ad26d7e 100644
--- a/be/src/olap/rowset/rowset_meta.cpp
+++ b/be/src/olap/rowset/rowset_meta.cpp
@@ -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);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]