Yukang-Lian commented on code in PR #41022:
URL: https://github.com/apache/doris/pull/41022#discussion_r1778775755


##########
be/src/olap/rowset/beta_rowset_writer.cpp:
##########
@@ -81,7 +81,7 @@ void build_rowset_meta_with_spec_field(RowsetMeta& 
rowset_meta,
                                        const RowsetMeta& spec_rowset_meta) {
     rowset_meta.set_num_rows(spec_rowset_meta.num_rows());
     rowset_meta.set_total_disk_size(spec_rowset_meta.total_disk_size());
-    rowset_meta.set_data_disk_size(spec_rowset_meta.total_disk_size());
+    rowset_meta.set_data_disk_size(spec_rowset_meta.data_disk_size());

Review Comment:
   The impact has already been checked. In old version, 
total_disk_size=data_disk_size. Index size is not considered at all. This PR we 
change it to total_disk_size=data_disk_size+index_size.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to