Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/milvus-io/milvus into 241…
Browse files Browse the repository at this point in the history
…2-opt-meta-mutex
  • Loading branch information
bigsheeper committed Dec 5, 2024
2 parents bc47595 + 6ff1948 commit 4d823d7
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 4d823d7

Please sign in to comment.