zhannngchen commented on code in PR #21177:
URL: https://github.com/apache/doris/pull/21177#discussion_r1253851080
##########
be/src/olap/compaction.cpp:
##########
@@ -690,6 +690,22 @@ Status Compaction::check_version_continuity(const
std::vector<RowsetSharedPtr>&
return Status::OK();
}
+Status Compaction::check_all_version(const std::vector<RowsetSharedPtr>&
rowsets) {
+ if (rowsets.empty()) {
+ return Status::Error<FULL_MISS_VERSION>();
+ }
+ const RowsetSharedPtr& last_rowset = rowsets.back();
Review Comment:
Check the 1st rowset's start version is 0 or 2
--
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]