Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zookeeper-specifications/system-spec/zk-3.7/ZkV3_7_0.tla
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ WriteToTxnLog(i) == IF \/ connectInfo[i].syncMode = DIFF

\* See lastProposed in Leader for details.
LastProposed(i) == IF Len(history[i]) = 0 THEN [ index |-> 0,
zxid |-> <<0, 0>> ]
zxid |-> <<Maximum({tempMaxEpoch[i], 0}), 0>> ]
ELSE
LET lastIndex == Len(history[i])
entry == history[i][lastIndex]
Expand Down