Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RavenDB-5917 Improve the case when append entries failed to do mismat…
…ch entry term by a lot of entries. Instead of decrementing the last log index by 1 we now improved this by doing a distributed binary search on the log entries to find the highest log entry which both the leader and the follower agreed on.
- Loading branch information
Showing
3 changed files
with
87 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters