-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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]: [streaming] After concurrent insertion and deletion, count(*) returns more results than expected #40292
Comments
/assign |
I found a similar open issue regarding the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
There's no any data lost when consuming from streaming service. Explain:
Found the first deletion lost primary key range still working on it. |
maybe related to #40207 |
Ignore the previous related issue. |
@weiliu1031 please help to check if it is related to the enhancement #39552 |
Found the range which is not deleted by delegator The insert log at client side.
The delete log is found at client side.
The related delete timetick at server side.
The delete operation is flushed in L0 segment
The related insert segment at server side should be
Can be found from binlog and delete log at segment
The load operation happens before L0 compaction:
So the load operation lost some delete record at delete buffer, maybe lost a full L0 segment or with a wrong bloom filter? |
PR #39552 introduced a regression where the delete buffer's data is being prematurely cleaned up. This results in partial loss of necessary deletion data during subsequent load segment operations when processing forward deletes. will be fixed by #40366 |
/assign |
Is there an existing issue for this?
Environment
Current Behavior
server
1 streaming node and 4 querynode
client
result
2.expected count(*): 78831000 - 229879 x 150= 44349150, It is 3,192,300 less than the actual
The problem seems to be the delete part
Expected Behavior
No response
Steps To Reproduce
https://argo-workflows.zilliz.cc/archived-workflows/qa/86fdb7d3-267e-4447-a865-7632c4e1374a?nodeId=level-zero-stable-master-d-2071198988
Milvus Log
Anything else?
No response
The text was updated successfully, but these errors were encountered: