-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(consensus)!: suspend nodes that fail to participate (#1181)
Description --- - suspend nodes that fail to participate in 3 rounds (configurable) - resume nodes after voting in 5 rounds - refactor and simplify leader failure Motivation and Context --- Reduce the impact of a nodes going offline by enabling nodes to agree to suspend the offending nodes from consensus rounds. Once suspended, nodes will immediately send a newview to the next functioning node. How Has This Been Tested? --- Unit test, manually 5 nodes taking one offline, observe suspension, go online, wait for resumed node instruction What process can a PR reviewer use to test or verify this change? --- As above Breaking Changes --- - [ ] None - [x] Requires data directory to be deleted - [x] Other - Please specify BREAKING CHANGE: 2 new block commands added
- Loading branch information
Showing
95 changed files
with
2,767 additions
and
1,143 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.