Skip to content

Commit

Permalink
Correct reconfiguration index
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Oct 30, 2023
1 parent 71b60b3 commit b35737f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tla/consensus/ccfraft.tla
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ ChangeConfigurationInt(i, newConfiguration) ==
newLog == [log[i] EXCEPT ![Len(log[i])] = entry]
IN
/\ log' = [log EXCEPT ![i] = newLog]
/\ configurations' = [configurations EXCEPT ![i] = @ @@ Len(log[i]) + 1 :> newConfiguration]
/\ configurations' = [configurations EXCEPT ![i] = @ @@ Len(log[i]) :> newConfiguration]
/\ UNCHANGED <<messageVars, serverVars, candidateVars,
leaderVars, commitIndex, committableIndices>>

Expand Down

0 comments on commit b35737f

Please sign in to comment.