-
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]: insert data not run flush, data loss occurs after restarting querynode and datanode. #38284
Comments
@zhuwenxing |
this is very common, because milvus runs approximate nearest number and no gurantee that all data can be searched.
|
@xiaofan-luan |
/assign @congqixia |
If
If all data is deleted, why could not a segment become dropped? Maybe simply because of compaction happened |
not delete data, just restart the querynode and datanode,the data of the growing segment is lost. |
Found the reason why standalone could reproduce this problem
Rocksmq failed to seek the correct checkpoint and use the latest position, which means some data maybe lost when using rocksMQ. @qiqiqi998 since we could only reproduce with standalone+rocksmq setup, could you please verify the actual milvus instance setup was cluster or not? |
|
@qiqiqi998 could you please collection the milvus and pulsar logs when you restart the querynode and datanode? |
|
@qiqiqi998 the Info level log looks fine and there was no any suspicious entries in log or screenshot. I was wondering that if you could reproduce in DEBUG log level and provided birdwatcher backup with https://github.com/milvus-io/birdwatcher/releases/tag/v1.0.7 |
It seems this log is from before the restart? Because there are insertion messages.
|
@qiqiqi998 would you like to set up a call to discuss this issue? if possible, could you share your deployment and how to reproduce this issue via remote screening. please contact me by [email protected] if it is okay for you. |
data loss occurs in the pulsar use 1 partition topic, while non partition topics are normal. pulsar: broker.conf |
I think 1 parititon and non partition is same. |
Is there an existing issue for this?
Environment
Current Behavior
after inserting 12 data, restart the querynode and datanode, but the data cannot be found.
python3 -i test.py
Expected Behavior
The result exists.
Steps To Reproduce
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: