mirror of https://github.com/milvus-io/milvus.git
Clean BF for compacted segment in datanode (#20085)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com> Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/20077/head
parent
b5ce87ba30
commit
27ebb766e7
|
@ -516,6 +516,8 @@ func (c *ChannelMeta) mergeFlushedSegments(seg *Segment, planID UniqueID, compac
|
|||
s := c.segments[ID]
|
||||
s.compactedTo = seg.segmentID
|
||||
s.setType(datapb.SegmentType_Compacted)
|
||||
// release bloom filter
|
||||
s.pkStat.pkFilter = nil
|
||||
}
|
||||
c.segMu.Unlock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue