-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change: SnapshotPointer do not store any info.
Use SnapshotPointer to store membership is a bad idea. It brings in troubles proving the consistency, e.g.: - When concurrent `do_log_compaction()` is called(it is not possible for now, may be possible in future. The correctness proof involving multiple component is a nightmare.) - Proof of correctness of consistency between `StateMachine.last_membership` and `SnapshotPointer.membership` is complicated. What we need is actually: - At least one committed log is left in the log storage, - and info in the purged log must be present in the state machine, e.g. membership
- Loading branch information
1 parent
daf2ed8
commit a18b98f
Showing
4 changed files
with
35 additions
and
31 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