yangzhg commented on a change in pull request #6236: URL: https://github.com/apache/incubator-doris/pull/6236#discussion_r672764192
########## File path: be/src/olap/tablet_meta.h ########## @@ -285,6 +289,38 @@ inline void TabletMeta::set_cumulative_layer_point(int64_t new_point) { _cumulative_layer_point = new_point; } +inline bool TabletMeta::contains_delete(const Version& version) const { + for (auto& rs : _rs_metas) { Review comment: no need to order by version, if contains delete version this tablet will not split by segmnent -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org