Skip to content

Commit

Permalink
enhance: Resolve compilation error due to PR conflict (#38252)
Browse files Browse the repository at this point in the history
Related pr: #38233 #38059

Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Dec 5, 2024
1 parent c91bb5a commit 6ff1948
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/querycoordv2/job/job_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6ff1948

Please sign in to comment.