This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 02ee7aef5c4 [Fix](table size) Fix MoW table merge data fault (#40880)
02ee7aef5c4 is described below

commit 02ee7aef5c40aebaa019b2bed9a58d33d658b726
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]

Reply via email to