-
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]: 2.4.9版本的milvus集群 在使用upsert的方式插入的时候,使用num_entities能够看到数据不断增长,但是使用count(*)的时候发现数据一直是600 #35893
Comments
在Attu 2.3.6里,不管collection有没有loaded,“大约的Entity数量”都是用num_entities来获取的。 count(*)显示600估计是个bug,怀疑是compaction出了问题。请@XuanYang-cn看一下。 |
我发现数据还有丢失 过了一会show segment 找了其中一个segment 进行前后比对,发现 |
/assign @XuanYang-cn @ronghuaihai it is not recommended to use "upsert" as "insert", as it would cause Milvus in heavily compaction progress. |
重现脚本:
对于milvus v2.3.x,queryIterator返回的ids正常 关键点是varchar主键的"marisa-trie"索引,如果不建该索引,则2.4.x也执行正常。 |
一个紧急修复,改为使用爆搜 #35943 |
it's actaully don't recommend to create index on PKs (Since PK already has pk index). |
Is there an existing issue for this?
Environment
Current Behavior
当我使用2.3.6版本的attu查看是
当我使用2.3.10版本的attu查看的同一个collection是
当我直接使用python sdk pymilvus直接连接到实例,查看的是
业务反馈collection的主键不会有冲突和重复,所以用的是upsert的。由于特殊的情况,必须使用upsert的方式。但是理论上说
数据应该是增加的,而不是始终是600 。
2.4.9的count(*)是不是有bug?
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: