-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Add Membership test #500
Add Membership test #500
Conversation
Found some compatibility problems, see #503 for more info |
2963a64
to
b8595e0
Compare
8fd5b45
to
af3415a
Compare
I am a disaster to rebase with merged branches. |
23a7c0e
to
8fd5b45
Compare
Codecov Report
@@ Coverage Diff @@
## trunk #500 +/- ##
==========================================
+ Coverage 70.72% 70.86% +0.14%
==========================================
Files 46 47 +1
Lines 3149 3165 +16
==========================================
+ Hits 2227 2243 +16
Misses 922 922
Continue to review full report at Codecov.
|
HI, as requested, I implemented the test required for crash that I am experiencing in my application.
Here is the demo for the crash in my application:
https://github.com/ppamorim/openraft/tree/bincode-bug/example-raft-kv
You will need to run
./test-cluster.sh
, wait it to finish and read the logn1.log
. The code that causes the crash is here: https://github.com/ppamorim/openraft/blob/bincode-bug/example-raft-kv/src/store/mod.rs#L230-L244The struct that causes the problem is here: https://github.com/datafuselabs/openraft/blob/main/openraft/src/membership/membership.rs#L21