mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
eaabe0293b
Related to #28736 #28748 See also #27675 Previous PR: #28646 This PR fixes `SegmentNotFound` issue when compaction happens multiple times and the buffer of first generation segment is sync due to stale policy Now the `CompactSegments` API of metacache shall update the compactTo field of segmentInfo if the compactTo segment is also compacted to keep the bloodline clean Also, add the `CompactedSegment` SyncPolicy to sync the compacted segment asap to keep metacache clean Now the `SyncPolicy` is an interface instead of a function type so that when it selects some segments to sync, we colud log the reason and target segment Signed-off-by: Congqi Xia <congqi.xia@zilliz.com> |
||
---|---|---|
.. | ||
bf_write_buffer_test.go | ||
bf_write_buffer.go | ||
delta_buffer_test.go | ||
delta_buffer.go | ||
insert_buffer_test.go | ||
insert_buffer.go | ||
l0_write_buffer_test.go | ||
l0_write_buffer.go | ||
manager_test.go | ||
manager.go | ||
mock_mananger.go | ||
mock_write_buffer.go | ||
options.go | ||
segment_buffer.go | ||
sync_policy_test.go | ||
sync_policy.go | ||
write_buffer_test.go | ||
write_buffer.go |