-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving commit QC into log entries #11
Conversation
@@ -308,7 +308,7 @@ Timeout(r) == | |||
/\ matchIndex' = [matchIndex EXCEPT ![r] = [s \in R |-> 0]] | |||
/\ UNCHANGED <<log, crashCommitIndex, byzCommitIndex, byzActions>> | |||
|
|||
\* The view of the highest qc in log l, -1 if log contains no qcs | |||
\* The view of the highest byzQC in log l, -1 if log contains no qcs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
second "qcs" at the end of the comment.
pirateship.tla
Outdated
@@ -184,6 +184,24 @@ MaxQuorum(l, m, default) == | |||
THEN i ELSE RMaxQuorum(i-1) | |||
IN RMaxQuorum(Len(l)) | |||
|
|||
\* Checks if a log l is well formed e.g. terms are monotonically increasing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Terminology: "Terms" vs. "Views"
The CI is red but this is due to another reason so I'm going to go ahead and merge this change in |
CI is failing as the byz commit can front run the crash commit. This is a side effect of having the crash qc (commit index) in the AE messages. This PR moves the crashQC into log entries themselves.