-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Unable to delete entities #37725
Comments
@qiulingdong I guess there are duplicated doc_id when you insert into the collection. you can check it by /assign @qiulingdong |
I have tried to look up, and there is no duplicate doc_id appearing.
|
could you try 2.4.15? |
I found a similar issue on version v2.4.15, but the phenomenon is not exactly the same When the collection is loaded, I delete the entity and release the collection after the deletion returns, but when I reconnect the data to query, the entity reappears The steps are as follows:
|
I believe this is caused by the default consistency level is bound. So if you add consistency_level=ConsistencyLevel.Strong in the query() after delete, you will won't see the deleted entities immediately. @qiulingdong @rabbor |
I thought there is a bug on remote loading. @yanliang567 for some reason, L0 segment is not processed as expect. that's why I talked about the test on delete and right now the test itself is not very solid |
especially under different failure recovery test |
remote load is only avaliable on 2.4.16 or later, I don't think that is the issue here. @qiulingdong @rabbor please try as my comments above and keep us posted. thx. |
I was not previously aware of the "consistency_level" parameter in the documentation. Following your suggestion, I added the parameter ”consistency_level=ConsistencyLevel.Strong“ to the interface "create_collection", "delete", "search", but the same issue still occurs after testing. The steps to reproduce are as follows:
|
I cannot reproduce the issue, could you please share your code sample to reproduce the issue?
|
The code is relatively complex, and I extracted the core process for testing but couldn't reproduce it. Nevertheless, I really appreciate your help, thank you! code :
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Encountered this issue in version: "@zilliz/milvus2-sdk-node": "^2.4.9". Fixed when downgrading to v2.3.15 |
please try latest 2.4.19 and all the known deleted issue has been fixed |
Is there an existing issue for this?
Environment
Current Behavior
I created a strongly consistent collection and inserted multiple records. Frequently, when deleting data, I encounter situations where the data cannot be deleted properly. There are several phenomena:
Using code
print log
Expected Behavior
I expect the data in the Collection to be successfully deleted as it .
Steps To Reproduce
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: