Skip to content
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

Merged
merged 9 commits into from
Nov 27, 2024
Merged

Moving commit QC into log entries #11

merged 9 commits into from
Nov 27, 2024

Conversation

heidihoward
Copy link
Owner

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.

pirateship.tla Outdated Show resolved Hide resolved
@@ -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
Copy link
Collaborator

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 Show resolved Hide resolved
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
Copy link
Collaborator

@lemmy lemmy Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terminology: "Terms" vs. "Views"

@heidihoward heidihoward marked this pull request as ready for review November 26, 2024 16:06
@heidihoward heidihoward changed the title WIP: Moving commit QC into log entries Moving commit QC into log entries Nov 26, 2024
@heidihoward
Copy link
Owner Author

The CI is red but this is due to another reason so I'm going to go ahead and merge this change in

@heidihoward heidihoward merged commit be3a907 into main Nov 27, 2024
0 of 2 checks passed
@heidihoward heidihoward deleted the commitqc branch November 27, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants