-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vsr: prevent state sync from breaking hash chain
The added test is a minimization of #1532. If replica state-syncs into a newer view, its log may be disconnected from a checkpoint. To fix this, require that replica jumps view before jumping sync target. The effect here is that, after state sync, there's _still_ a break between the checkpoint and the log, but, as replica is in a view_change state, it doesn't assume valid hash chain and waits until an SV to correct the log. SEED: 17270152460592452540 Closes: #1532
- Loading branch information
Showing
2 changed files
with
90 additions
and
0 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