fix:release partition before drop it#2008
fix:release partition before drop it#2008wildBigPanda wants to merge 1 commit intomilvus-io:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wildBigPanda The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @wildBigPanda! It looks like this is your first PR to milvus-io/pymilvus 🎉 |
|
@wildBigPanda This behaviour is by design |
|
@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? |
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