-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dbft: make future message cache work properly, add a test
start() was designed to be called at every view change, but looks like it _never_ worked this way. Which means two things: * on every view change Primary doesn't send PrepareRequest during initialization (which is mostly OK, OnTimeout() will be triggered immediately with 0 timeout) * our future message caching system has never really worked since start() is the only place where messages can be picked up from it Just drop start(), make caches work and add a test for them. Signed-off-by: Roman Khimov <[email protected]>
- Loading branch information
1 parent
f123518
commit 2fca051
Showing
2 changed files
with
170 additions
and
51 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