kangkaisen commented on a change in pull request #3098: [Bug] tablet meta is
not updated correctly after compaction
URL: https://github.com/apache/incubator-doris/pull/3098#discussion_r392016339
##########
File path: be/src/olap/rowset/alpha_rowset.cpp
##########
@@ -166,7 +166,9 @@ OLAPStatus AlphaRowset::split_range(
RowBlockPosition step_pos;
std::shared_ptr<SegmentGroup> largest_segment_group =
_segment_group_with_largest_size();
- if (largest_segment_group == nullptr) {
+ if (largest_segment_group == nullptr ||
largest_segment_group->current_num_rows_per_row_block() == 0) {
Review comment:
Why add a check for `largest_segment_group->current_num_rows_per_row_block()
== 0`?
You encounter this issue
https://github.com/apache/incubator-doris/issues/2750?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]