[Bug]: Failed to delete data resulting in repeated insertion of data(删除数据未成功导致重复插入数据) #38712
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Environment
- Milvus version:V2.40
- Deployment mode(standalone or cluster):standalone
- SDK version(e.g. pymilvus v2.0.0rc2): 2.4.4
- OS(Ubuntu or CentOS): Ubuntu
Current Behavior
Failed to delete data resulting in repeated insertion of data
code as below:
先删除已有的商品
for product in param.productList:
query_filter = f"display_prd_id=={product.disPlayPrdId}"
product_kb.delete(expr=query_filter)
# 将商品信息转为Document
docs = to_product_docs(param.productList)
text_splitter = RecursiveCharacterTextSplitter(chunk_size=600, chunk_overlap=0)
split_docs = text_splitter.split_documents(docs)
# 文档向量化,并创建数据库
product_kb.add_documents(split_docs)
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response