Why does upsert generate a new primary key when allow_insert_auto_id is enabled?
I am using PyMilvus 2.6.8 against a Zilliz Cloud UAT instance that reports compatibility with Milvus 3.0. The collection has an AutoID primary key, and I enabled allow_insert_auto_id so I can supply IDs explicitly. An insert() with id=1001 preserves that ID. An upsert() of the same ID also updates the existing record correctly. The behavior changes when I upsert an ID that does not exist yet. Instead of storing the supplied ID, the server generates a different one. Repeating the upsert with the same supplied ID creates another record. Here is the reproduction, with the endpoint and token suppl
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.