-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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]: non-stop repeated segment compaction #37549
Comments
/assign |
See also: #37549 Signed-off-by: yangxuan <[email protected]>
@XuanYang-cn |
This is not a single compaction, it's m -> m, actually it's a critical bug of mix compactor, that DN can't compact segment to targeted size. I'll add more strict tests to cover the output target size. No previous tests have tested it before, hence the changes in storage could easily broke the output of mix compactor. |
/assign @zhengbuqian |
/unassign |
Is there an existing issue for this?
Environment
- Milvus version: master
Current Behavior
Used scripts in https://pastebin.com/8KLQ8WyT, to simply insert 200M data. After compaction, 5 segments are left, each with ~400k rows. Then those 5 segments compact indefinitely.
See birdwatcher segment results here: https://pastebin.com/aZ6M7Y2U
Segment A, B, C, D, E was compacted inito A1, B1, C1, D1, E1, then A2, B2, C2, D2, E2, ... Each time compaction happens the old index was dropped and the new index was recreated.
Likely due to: the compaction trigger thought A+B can be merged into a larger segment say F, but the actual compactor thought F would be too large and simply writes A and B to A1 and B1 unchanged.
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: