yiguolei commented on code in PR #9379:
URL: https://github.com/apache/incubator-doris/pull/9379#discussion_r865740144
##########
be/src/olap/compaction.cpp:
##########
@@ -136,7 +136,12 @@ Status Compaction::do_compaction_impl(int64_t permits) {
int64_t current_max_version;
{
std::shared_lock rdlock(_tablet->get_header_lock());
- current_max_version =
_tablet->rowset_with_max_version()->end_version();
Review Comment:
1. The tablet should not have rowset because when the table is created BE
will add 0-1 rowset to the tablet.
2. I think we should be careful with this case... Maybe should deep dive
some code.
--
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]