Skip to content

Commit

Permalink
removing MatchIndexLowerBoundNextIndexInv
Browse files Browse the repository at this point in the history
  • Loading branch information
heidihoward committed Jan 8, 2024
1 parent ec7e172 commit 7bce884
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion tla/consensus/MCccfraft.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,5 @@ INVARIANTS
MonoLogInv
NoLeaderBeforeInitialTerm
LogConfigurationConsistentInv
MatchIndexLowerBoundNextIndexInv
CommitCommittableIndices
CommittableIndicesAreKnownSignaturesInv
1 change: 0 additions & 1 deletion tla/consensus/MCccfraftWithReconfig.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,5 @@ INVARIANTS
MonoLogInv
NoLeaderBeforeInitialTerm
LogConfigurationConsistentInv
MatchIndexLowerBoundNextIndexInv
CommitCommittableIndices
CommittableIndicesAreKnownSignaturesInv
2 changes: 0 additions & 2 deletions tla/consensus/SIMccfraft.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ INVARIANTS
NoLeaderBeforeInitialTerm
LogConfigurationConsistentInv

MatchIndexLowerBoundNextIndexInv

CommitCommittableIndices

CommittableIndicesAreKnownSignaturesInv
Expand Down
3 changes: 3 additions & 0 deletions tla/consensus/ccfraft.tla
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,9 @@ NoLeaderBeforeInitialTerm ==
\A i \in Servers :
currentTerm[i] < StartTerm => state[i] # Leader

\* MatchIndexLowerBoundNextIndexInv is not currently an invariant but
\* we might wish to add it in the future. This could be achieved by updating
\* nextIndex to max of current nextIndex and matchIndex when an AE ACK is received.
MatchIndexLowerBoundNextIndexInv ==
\A i,j \in Servers :
state[i] = Leader =>
Expand Down

0 comments on commit 7bce884

Please sign in to comment.