From 6ff19481f0727b365b03f0b360410fe29eeff050 Mon Sep 17 00:00:00 2001 From: congqixia Date: Thu, 5 Dec 2024 19:26:40 +0800 Subject: [PATCH] enhance: Resolve compilation error due to PR conflict (#38252) Related pr: #38233 #38059 Signed-off-by: Congqi Xia --- internal/querycoordv2/job/job_release.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/querycoordv2/job/job_release.go b/internal/querycoordv2/job/job_release.go index 3ffccecd7bfae..61c95284835fd 100644 --- a/internal/querycoordv2/job/job_release.go +++ b/internal/querycoordv2/job/job_release.go @@ -80,11 +80,6 @@ func (job *ReleaseCollectionJob) Execute() error { return nil } - loadedPartitions := job.meta.CollectionManager.GetPartitionsByCollection(job.ctx, req.GetCollectionID()) - toRelease := lo.Map(loadedPartitions, func(partition *meta.Partition, _ int) int64 { - return partition.GetPartitionID() - }) - err := job.meta.CollectionManager.RemoveCollection(job.ctx, req.GetCollectionID()) if err != nil { msg := "failed to remove collection"