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> |
||
---|---|---|
.. | ||
actions_test.go | ||
actions.go | ||
bloom_filter_set_test.go | ||
bloom_filter_set.go | ||
meta_cache_test.go | ||
meta_cache.go | ||
mock_meta_cache.go | ||
segment_test.go | ||
segment.go | ||
storagev2_cache_test.go | ||
storagev2_cache.go |