mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
fix: unstable UT for level0 deletion (#34525)
issue: #34533 pr: #34524 Signed-off-by: jaime <yun.zhang@zilliz.com>
This commit is contained in:
parent
073a501fc7
commit
bfd386aad7
@ -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
Block a user