zhannngchen commented on code in PR #28062:
URL: https://github.com/apache/doris/pull/28062#discussion_r1417510219
##########
be/src/olap/rowset/beta_rowset_writer.cpp:
##########
@@ -150,6 +150,13 @@ Status BetaRowsetWriter::_generate_delete_bitmap(int32_t
segment_id) {
{
std::shared_lock meta_rlock(tablet->get_header_lock());
specified_rowsets =
tablet->get_rowset_by_ids(&_context.mow_context->rowset_ids);
+ if (specified_rowsets.size() !=
_context.mow_context->rowset_ids.size()) {
+ int64_t cur_max_version = tablet->max_version_unlocked().second;
Review Comment:
Add a log for such condition
##########
be/src/olap/rowset/segment_v2/segment_writer.cpp:
##########
@@ -408,6 +408,13 @@ Status
SegmentWriter::append_block_with_partial_content(const vectorized::Block*
{
std::shared_lock rlock(tablet->get_header_lock());
specified_rowsets =
tablet->get_rowset_by_ids(&_mow_context->rowset_ids);
+ if (specified_rowsets.size() != _mow_context->rowset_ids.size()) {
+ int64_t cur_max_version = tablet->max_version_unlocked().second;
Review Comment:
ditto
--
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]