Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukang-Lian committed Nov 7, 2024
1 parent 72b4daa commit b8742bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions be/src/cloud/cloud_cumulative_compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
3 changes: 1 addition & 2 deletions be/src/olap/cumulative_compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<CUMULATIVE_NO_SUITABLE_VERSION>(
"_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.
Expand Down

0 comments on commit b8742bb

Please sign in to comment.