Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED] Clustering: possible panic on restart with "log not found"
Was found by chance when causing backend boltdb store to throw error when storing the raft log. The fact that a front-end log cache was used and improperly caching logs that had failed to be stored caused an issue for raft library. I have filed an issue (and PR to fix) to the hashicorp/raft repo, but actually decided to not use their LogCache since it can be easily added to our raftLog implementation, reducing locking. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
4 changed files
with
124 additions
and
9 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
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