-
Notifications
You must be signed in to change notification settings - Fork 211
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
src/uv_truncate.c:58: Assertion `i < n_segments' failed #591
Comments
Thanks for testing, always valuable! I'll have a look. |
It seems what happens here is that our node believes that an open segment Unfortunately, we're missing the earlier part of the log, which might tell us how |
Hi, I uploaded the full logs with our Jepsen++ tool: https://github.com/jerrytesting/Canonical-raft-bug-logs/. You could find |
Besides this bug, this log contains another assertion failure: |
@jerrytesting We've got a separate issue tracking that one: canonical/raft#386. |
jepsen-data-set-partition,member-failure.zip Occurrence in (non-master) run in https://github.com/canonical/jepsen.dqlite/actions/runs/5853720376/job/15875114455 |
Mathieu's logs tell a sort of similar story, in the sense that a bunch of files go missing. On n3, at line 30245 we have
And then at line 33331, just before the offending truncate operation:
That second list of files is pretty weird:
|
This bit in between is also interesting:
Seems like the catastrophe happens before that point |
In jerrytesting's logs I see corrupt segments in the lists, and it's possible something different is going on. |
Okay, so in Mathieu's logs, the issue is that Jepsen tries to remove n3 from the cluster ( This doesn't apply to jerrytesting's logs, which as mentioned above seem to be running into a different issue. |
Happened again: |
I think this and canonical/jepsen.dqlite#125 are two manifestations of the same problem, that fatal signals are not reliably causing the jepsen.dqlite app to shut down reliably. |
In the latest commit version: 05a49e0, one assertion failed: src/uv_truncate.c:58: void uvTruncateWorkCb(uv_work_t *): Assertion `i < n_segments'.
Attached is the log file n_segments-assertion-failure.log. Hope it could help you debug.
The text was updated successfully, but these errors were encountered: