yixiutt commented on code in PR #18643: URL: https://github.com/apache/doris/pull/18643#discussion_r1168104887
########## be/src/olap/delta_writer.cpp: ########## @@ -359,6 +361,17 @@ Status DeltaWriter::close_wait(const PSlaveTabletNodes& slave_tablet_nodes, return res; } if (_tablet->enable_unique_key_merge_on_write()) { + auto beta_rowset = reinterpret_cast<BetaRowset*>(_cur_rowset.get()); + std::vector<segment_v2::SegmentSharedPtr> segments; + RETURN_IF_ERROR(beta_rowset->load_segments(&segments)); + std::shared_lock meta_rlock(_tablet->get_header_lock()); Review Comment: fixed -- 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