Skip to content

Commit

Permalink
Tweak PermittedLogChangesProp to permit a little more
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Nov 2, 2023
1 parent c5af7d9 commit 4431bd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tla/consensus/ccfraft.tla
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,9 @@ PermittedLogChangesProp ==
\* Established leader adding new entries
\/ /\ state[i] = Leader
/\ state[i]' = Leader
/\ IsPrefix(log[i], log[i]')
/\ Len(log[i]') >= Len(log[i])
\* Reconfiguration replaces the last entry
\* /\ IsPrefix(log[i], log[i]')
\* Newly elected leader is truncating its log
\/ /\ state[i] = Candidate
/\ state[i]' = Leader
Expand Down

0 comments on commit 4431bd3

Please sign in to comment.