-
Notifications
You must be signed in to change notification settings - Fork 564
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
fix(raft): follower reset pendingsnapshot after rejecting install request #10183
Merged
Commits on Aug 25, 2022
-
test(raft): allow comparing compacted logs
When comparing compacted logs, not all entries exist in all logs. So compare only the entries that exist.
Configuration menu - View commit details
-
Copy full SHA for 773dfa2 - Browse repository at this point
Copy the full SHA 773dfa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db2932 - Browse repository at this point
Copy the full SHA 5db2932View commit details -
fix(raft): reset snapshot replication on error in follower
When follower responds with any error, leader restarts send the snapshot from the initial chunk. When the follower has not resets its state, then the follower is not expecting the initial chunk. As a result, the follower reject the requests and this will continue endlessly.
Configuration menu - View commit details
-
Copy full SHA for 9aba732 - Browse repository at this point
Copy the full SHA 9aba732View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe11e34 - Browse repository at this point
Copy the full SHA fe11e34View commit details
Commits on Aug 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6a39814 - Browse repository at this point
Copy the full SHA 6a39814View commit details -
fix(raft): reset log always on receiving a snapshot
There were some cases where the log is not reset and leads to scenarios where a follower is not able to replicate new events. This case is explained in #10183 (comment)
Configuration menu - View commit details
-
Copy full SHA for 4c82bd9 - Browse repository at this point
Copy the full SHA 4c82bd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43c96cd - Browse repository at this point
Copy the full SHA 43c96cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d79b730 - Browse repository at this point
Copy the full SHA d79b730View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1362765 - Browse repository at this point
Copy the full SHA 1362765View commit details
Commits on Aug 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 455a09c - Browse repository at this point
Copy the full SHA 455a09cView commit details -
test(raft): allow snapshot with one chunk in randomized tests
Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 69df0fa - Browse repository at this point
Copy the full SHA 69df0faView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.