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_r392195850
 
 

 ##########
 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:
   OK

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to