upsert not woking correctly #39620
Replies: 4 comments
-
because indexed row and pending indexed row is meta data. On the other side, count acutally read the data, so it is accurate. |
Beta Was this translation helpful? Give feedback.
-
all the delete, upsert for milvus is soft delete. and data won't be cleaned instantly |
Beta Was this translation helpful? Give feedback.
-
thanks for the reply , what is the SLA for upsert to reflect. which parameter is responsible for it. |
Beta Was this translation helpful? Give feedback.
-
what do you mean by SLA? |
Beta Was this translation helpful? Give feedback.
-
hi team , i am testing upsert functionality
i took 1k records
i used describe the index it shows 1k total_rows , indexed_rows and pending_index_rows as zero
similarly i run it for another 3 times. every time total_rows , indexed_rows is increasing by 1k
python sdk version 2.5.4
milvus version 2.5.4
then i used this
res = self.client.query(collection_name=self.collection_name, consistency_level="Strong", output_fields=["count()"])
print("count() returns row count", res)
output :-
count() returns row count data: ["{'count()': 1000}"]
what is wrong in it , iam inserting the same data using insert first time and 2-5th times as upsert . ideally it has to 1k only even after multiple upsets
why the values are increasing total_rows , indexed_rows
Beta Was this translation helpful? Give feedback.
All reactions