Skip to content

Commit

Permalink
Warning: The variable messages was changed while it is specified as U…
Browse files Browse the repository at this point in the history
…NCHANGED at

line 227, col 5 to line 227, col 12 of module ccfraft
  • Loading branch information
lemmy committed Oct 6, 2023
1 parent 438ff87 commit d348bec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tla/ccfraft.tla
Original file line number Diff line number Diff line change
Expand Up @@ -755,10 +755,10 @@ AdvanceCommitIndex(i) ==
IN Send(msg)
/\ UNCHANGED << currentTerm, votedFor, reconfigurationCount, removedFromConfiguration >>
\* Otherwise, states remain unchanged
ELSE UNCHANGED <<serverVars, reconfigurationCount, removedFromConfiguration>>
ELSE UNCHANGED <<messages, serverVars, reconfigurationCount, removedFromConfiguration>>
\* Otherwise, Configuration and states remain unchanged
ELSE UNCHANGED <<serverVars, reconfigurationVars>>
/\ UNCHANGED <<messageVars, candidateVars, leaderVars, log>>
ELSE UNCHANGED <<messages, serverVars, reconfigurationVars>>
/\ UNCHANGED <<commitsNotified, candidateVars, leaderVars, log>>

\* CCF: RetiredLeader server i notifies the current commit level to server j
\* This allows to retire gracefully instead of deadlocking the system through removing itself from the network.
Expand Down

0 comments on commit d348bec

Please sign in to comment.