mirror of https://github.com/milvus-io/milvus.git
fix: unstable UT for level0 deletion (#34524)
issue: #34533 Signed-off-by: jaime <yun.zhang@zilliz.com>pull/34436/head
parent
1bc3c0b925
commit
3b62138c5c
|
@ -1159,8 +1159,7 @@ func (s *DelegatorDataSuite) TestLevel0Deletions() {
|
|||
|
||||
delegator.segmentManager.Put(context.TODO(), segments.SegmentTypeSealed, l0Global)
|
||||
pks, _ = delegator.GetLevel0Deletions(partitionID, pkoracle.NewCandidateKey(l0.ID(), l0.Partition(), segments.SegmentTypeGrowing))
|
||||
s.True(pks[0].EQ(partitionDeleteData.Pks[0]))
|
||||
s.True(pks[1].EQ(allPartitionDeleteData.Pks[0]))
|
||||
s.ElementsMatch(pks, []storage.PrimaryKey{partitionDeleteData.Pks[0], allPartitionDeleteData.Pks[0]})
|
||||
|
||||
bfs := pkoracle.NewBloomFilterSet(3, l0.Partition(), commonpb.SegmentState_Sealed)
|
||||
bfs.UpdateBloomFilter(allPartitionDeleteData.Pks)
|
||||
|
|
Loading…
Reference in New Issue