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 bf8ce94757d [fix](cloud-mow) fix compaction missed rows dcheck fail 
(#43909)
bf8ce94757d is described below

commit bf8ce94757d4ced8dfb3800bc9f0ba194ea872b2
Author: zhannngchen <[email protected]>
AuthorDate: Thu Nov 14 11:30:18 2024 +0800

    [fix](cloud-mow) fix compaction missed rows dcheck fail (#43909)
    
    Related PR: #43633
    
    Introduced through the cherry-pick of #43633
    ```
    F20241113 03:01:36.481637 19123 cloud_tablet.cpp:818] Check failed: 
missed_rows->size() == missed_rows_size (9 vs. 0)
    ```
---
 be/src/cloud/cloud_tablet.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/cloud/cloud_tablet.cpp b/be/src/cloud/cloud_tablet.cpp
index c7a85fc820d..8e10bf15298 100644
--- a/be/src/cloud/cloud_tablet.cpp
+++ b/be/src/cloud/cloud_tablet.cpp
@@ -780,7 +780,7 @@ Status CloudTablet::calc_delete_bitmap_for_compaction(
             input_rowsets, rowid_conversion, 0, version.second + 1, 
missed_rows.get(),
             location_map.get(), tablet_meta()->delete_bitmap(), 
output_rowset_delete_bitmap.get());
     if (missed_rows) {
-        std::size_t missed_rows_size = missed_rows->size();
+        missed_rows_size = missed_rows->size();
         if (!allow_delete_in_cumu_compaction) {
             if (compaction_type == ReaderType::READER_CUMULATIVE_COMPACTION &&
                 tablet_state() == TABLET_RUNNING) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to