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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new ba201fd2679 [fix](sc) remove duplicated modify rowsets (#40740)
ba201fd2679 is described below

commit ba201fd2679047b0c975da3bdd5b534e6039d81e
Author: Yongqiang YANG <[email protected]>
AuthorDate: Fri Sep 13 01:49:19 2024 +0800

    [fix](sc) remove duplicated modify rowsets (#40740)
    
    introducde by 39967
---
 be/src/olap/schema_change.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/be/src/olap/schema_change.cpp b/be/src/olap/schema_change.cpp
index 65867b7f7ae..7d867d89460 100644
--- a/be/src/olap/schema_change.cpp
+++ b/be/src/olap/schema_change.cpp
@@ -851,8 +851,6 @@ Status 
SchemaChangeHandler::_do_process_alter_tablet_v2(const TAlterTabletReqV2&
                             pair.first.to_string(), max_rowset->end_version());
                 }
             }
-            std::vector<RowsetSharedPtr> empty_vec;
-            new_tablet->modify_rowsets(empty_vec, rowsets_to_delete);
             new_tablet->delete_rowsets(rowsets_to_delete, false);
             // inherit cumulative_layer_point from base_tablet
             // check if new_tablet.ce_point > base_tablet.ce_point?


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

Reply via email to