Skip to content

Commit

Permalink
relax MatchIndexLowerBoundNextIndexInv
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Jan 8, 2024
1 parent aa424ab commit da84648
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tla/consensus/ccfraft.tla
Original file line number Diff line number Diff line change
Expand Up @@ -1259,10 +1259,11 @@ NoLeaderBeforeInitialTerm ==
\* 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.
\* HandleAppendEntriesResponse can rev up matchIndex but not nextIndex
MatchIndexLowerBoundNextIndexInv ==
\A i,j \in Servers :
state[i] = Leader =>
nextIndex[i][j] > matchIndex[i][j]
nextIndex[i][j] >= matchIndex[i][j]

CommitCommittableIndices ==
\A i \in Servers :
Expand Down

0 comments on commit da84648

Please sign in to comment.