Open lentitude2tk opened 6 months ago
/assign @congqixia /unassign
@lentitude2tk could you try latest milvus and check if this is reproducible?
/assign @MrPresent-Han
@lentitude2tk could you try latest milvus and check if this is reproducible?
OK, I will upgrade to the latest version 2.4 and run the test.
@xiaofan-luan I have upgraded to version 2.4.2-20240514-f48a7ff-72fc31b and conducted tests, which met expectations. From the results, it appears that Milvus 2.4 has optimized its query strategy compared to 2.3.
For the same dataset with offset=0, limit=900, and expr="", querying the data (0-999) repeated 5 times:
/assign
already fixed by #32567 , in this pr, the reduce of query will try the best to get the limit results (availableCount < limit). https://github.com/milvus-io/milvus/blob/f76d16780b193cd42ef84abd0ec77b599b359d4f/internal/querynodev2/segments/result.go#L551
already fixed by #32567 , in this pr, the reduce of query will try the best to get the limit results (availableCount < limit).
Can this handling strategy code be synchronized to version 2.3?
OK, I'll do it. @lentitude2tk
Is there an existing issue for this?
Environment
Current Behavior
I have constructed data and inserted five duplicate sets of data into Milvus, each ranging from 0 to 999.
When querying the data using a query expression with offset=0 and limit=900, I found that some data is missing in the returned results. For example, data points 351-354 are missing.
By querying through the interface or using queryIterator for a full query, it can be confirmed that data points 351-354 do actually exist.
Expected Behavior
First, it is expected that the returned data is de-duplicated, and there is no issue with that. However, the returned data should follow the correct sequence, and there should not be any data missing.
Steps To Reproduce
Milvus Log
No response
Anything else?
No response