diff --git a/internal/querynodev2/segments/validate.go b/internal/querynodev2/segments/validate.go index 2e93070d62..5207f97a3b 100644 --- a/internal/querynodev2/segments/validate.go +++ b/internal/querynodev2/segments/validate.go @@ -43,7 +43,6 @@ func validate(ctx context.Context, manager *Manager, collectionID int64, partiti if len(partitionIDs) == 0 { searchPartIDs = collection.GetPartitions() } else { - collection.ExistPartition() if collection.ExistPartition(partitionIDs...) { searchPartIDs = partitionIDs }