diff --git a/be/src/cloud/cloud_cumulative_compaction.cpp b/be/src/cloud/cloud_cumulative_compaction.cpp index 8eb925776934874..b13c4078609b258 100644 --- a/be/src/cloud/cloud_cumulative_compaction.cpp +++ b/be/src/cloud/cloud_cumulative_compaction.cpp @@ -91,6 +91,7 @@ Status CloudCumulativeCompaction::prepare_compact() { // plus 1 to skip the delete version. // NOTICE: after that, the cumulative point may be larger than max version of this tablet, but it doesn't matter. update_cumulative_point(); + return Status::OK(); } return st; } diff --git a/be/src/olap/cumulative_compaction.cpp b/be/src/olap/cumulative_compaction.cpp index b961c694ede4d0e..cc779f328077950 100644 --- a/be/src/olap/cumulative_compaction.cpp +++ b/be/src/olap/cumulative_compaction.cpp @@ -173,8 +173,7 @@ Status CumulativeCompaction::pick_rowsets_to_compact() { // plus 1 to skip the delete version. // NOTICE: after that, the cumulative point may be larger than max version of this tablet, but it doesn't matter. tablet()->set_cumulative_layer_point(_last_delete_version.first + 1); - return Status::Error( - "_last_delete_version.first not equal to -1"); + return Status::OK(); } // we did not meet any delete version. which means compaction_score is not enough to do cumulative compaction.