nextdreamblue commented on code in PR #15018:
URL: https://github.com/apache/doris/pull/15018#discussion_r1049284511


##########
be/src/olap/memtable.h:
##########
@@ -224,6 +224,8 @@ class MemTable {
     DeleteBitmapPtr _delete_bitmap;
     RowsetIdUnorderedSet _rowset_ids;
     int64_t _cur_max_version;
+    // seg ids in one _do_flush for calc delete bitmap
+    std::vector<int64_t> _seg_ids;

Review Comment:
   
找到解决办法了,新的segment是依据writer里的_num_segment来单调递增的,加了一个获取这个值的办法,flush前后就是那些需要load的segment



-- 
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]

Reply via email to