csun5285 commented on code in PR #27299:
URL: https://github.com/apache/doris/pull/27299#discussion_r1435493225
##########
be/src/olap/cumulative_compaction_time_series_policy.cpp:
##########
@@ -254,10 +282,11 @@ int
TimeSeriesCumulativeCompactionPolicy::pick_input_rowsets(
void TimeSeriesCumulativeCompactionPolicy::update_cumulative_point(
Tablet* tablet, const std::vector<RowsetSharedPtr>& input_rowsets,
RowsetSharedPtr output_rowset, Version& last_delete_version) {
- if (tablet->tablet_state() != TABLET_RUNNING) {
+ if (tablet->tablet_state() != TABLET_RUNNING ||
output_rowset->num_segments() == 0) {
// if tablet under alter process, do not update cumulative point
Review Comment:
done
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]