Skip to content

fix:release partition before drop it#2008

Open
wildBigPanda wants to merge 1 commit intomilvus-io:masterfrom
wildBigPanda:master
Open

fix:release partition before drop it#2008
wildBigPanda wants to merge 1 commit intomilvus-io:masterfrom
wildBigPanda:master

Conversation

@wildBigPanda
Copy link
Copy Markdown

when call Collection drop_partition func,has error:

pymilvus.decorators | RPC error: [drop_partition], <MilvusException: (code=1, message=partition cannot be dropped, partition is loaded, please release it first)>, <Time:{'RPC start': '2024-03-28 16:13:04.921025', 'RPC error': '2024-03-28 16:13:04.923609'}>

fix Collection drop_partition func call,release partition before drop it

@sre-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: wildBigPanda
To complete the pull request process, please assign xuanyang-cn after the PR has been reviewed.
You can assign the PR to them by writing /assign @xuanyang-cn in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot
Copy link
Copy Markdown

Welcome @wildBigPanda! It looks like this is your first PR to milvus-io/pymilvus 🎉

@XuanYang-cn
Copy link
Copy Markdown
Contributor

@wildBigPanda This behaviour is by design

@wildBigPanda
Copy link
Copy Markdown
Author

@XuanYang-cn Is the design unreasonable? To drop partition, you have to call the release interface again separately, and the related interface for releasing partitions cannot be found in [collection.py]. How can you release it and drop a partitions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants