-
Notifications
You must be signed in to change notification settings - Fork 4
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
New nemeses in Jepsen v0.3.0 #66
Comments
File corruption nemesis might be interesting. We would need to investigate if a packet nemesis makes sense for us as we implicitly rely on a reliable transport like TCP. If the packet nemesis would corrupt packets that arrive in libraft, than that will for sure break the system as we don't do any integrity checks on the received data. Packet loss would probably just test the TCP implementation we're using. Packet delay could be interesting though. |
Hi, What a wonderful Jepsen test!
I've been able to run the tests with the latest Jepsen in:
with just a few changes. Re packet nemesis, as noted:
Yes, e.g. loss is handled deep in the stack and has no impact. A sample dqlite set with packet-nemesis:
Re file corruption nemesis:
I am hoping that you will be open to considering a sequence of PRs:
I though it best to provide some context before submitting any PRs. I'll go ahead and submit adding a manual trigger to the GitHub action and hope you're open to considering the rest. Thanks! |
Hoping the PRs aren't too much. The tests are easy to work on. #88 for list-append finishes the pass through the test workloads. Will go through the nemeses next. The action also seems to be more reliable.
|
Jepsen v0.3.0 introduces a "packet" nemesis that messes with the network and a "file corruption" nemesis that flips bits in disk files. We should look into enabling these (I tried doing it in #65, but ran into a lot of weird errors).
The text was updated successfully, but these errors were encountered: