Improve TLA+ specification #4264
heidihoward
started this conversation in
Design
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CCF currently has a TLA+ specification that can be model checked using TLC. It would be great to do more with this specification in the future. Here is a list of ideas (small, medium & large) that might be worth considering:
Small
Add action invariants to check properties such as monotonicity ofcurrentTerm
orcommitIndex
Add Github actions check the TLA+ specification- This is now supportedChange theappendEntries
action so that a leader can send multiple entries at once and so that a leader can send a heartbeat with no new log entriesMedium
Large
Some things we considered but decided against (at least for now):
candidateVars
andleaderVars
for non candidates/leaders, andReconfigurationCount
,messagesSent
,commitsNotified
,votesRequested
,clientRequests
,committedLog
&committedLogConflict
(Note that some of these items where originally listed in #3965)
Beta Was this translation helpful? Give feedback.
All reactions