Граф коммитов

244 Коммитов

Автор SHA1 Сообщение Дата
Markus Alexander Kuppe c66745d838
Refactor Traceccfraft to reuse IsRequestVoteRequest. (#6104) 2024-03-29 21:36:44 +00:00
Markus Alexander Kuppe 8ace4aa604
Reduce noise of TLAi linter. (#6103) 2024-03-28 09:31:26 +00:00
Markus Alexander Kuppe c572ce32a0
Fix regression in StatsFile.tla (#6099) 2024-03-26 21:22:41 -07:00
Markus Alexander Kuppe e02b97addf
Periodically dump low-overhead action coverage. (#6093) 2024-03-26 18:19:17 -07:00
Markus Alexander Kuppe 67dd047dbc
Add TLAi linter. (#6098) 2024-03-26 17:10:54 -07:00
Markus Alexander Kuppe a078fc954b
Action and Variable coverage collection (#6092) 2024-03-25 22:10:13 +00:00
Amaury Chamayou aa695a6b4a
Add action number plotting script (#6074) 2024-03-21 12:15:42 +00:00
Amaury Chamayou daf99a8c66
Lower MaxTermLimit for Atomic Reconfig (#6076) 2024-03-19 14:56:57 +00:00
Amaury Chamayou ed3995154b
TLA comment update (#6069) 2024-03-18 11:42:20 +00:00
Amaury Chamayou 91d6ea44cc
Adopt a consistent 'ing style in TLA+ (#6068) 2024-03-15 17:46:34 +00:00
Amaury Chamayou 3a6dd6a50a
Raft: Nodes stay active later during reconfiguration to ensure liveness (#5973) 2024-03-15 11:10:44 +00:00
Markus Alexander Kuppe f3f1b0a842
Refactor ReplicationInv to reduce its computational complexity. (#6053) 2024-03-08 12:30:39 +00:00
Amaury Chamayou 214b5e1c07
Keep track of retired completed but not committed nodes (#6051) 2024-03-07 16:15:23 +00:00
Amaury Chamayou 65f367f187
Update PlausibleSucessorNodes logic and remove the global removedFromConfiguration (#6049) 2024-03-06 12:47:53 +00:00
Amaury Chamayou 7b802184db
Do not use removedFromConfiguration in ChangeConfigurationInt (#6044) 2024-03-06 10:48:01 +00:00
Markus Alexander Kuppe 9d3c41b265
Reduce number of *generated* states. (#6048)
Before:
31080255 states generated, 5045493 distinct states found, 0 states left on queue.

After:
20989269 states generated, 5045493 distinct states found, 0 states left on queue.
2024-03-06 08:49:39 +00:00
Amaury Chamayou bbf9c9c66c
Change addedNodes (#6047) 2024-03-05 16:04:52 +00:00
Amaury Chamayou 604fc2aa5d
Allow consecutive signatures in different terms (#6041) 2024-03-05 13:54:32 +00:00
Markus Alexander Kuppe 11ffc86ee4
n.type = AppendEntriesRequest missing from disjunct. (#6046) 2024-03-05 11:26:36 +00:00
Markus Alexander Kuppe d13df2da43
Report TLA+ spec coverage ever 10 minutes and once at the end of model checking (#6040) 2024-03-04 11:14:51 +00:00
Amaury Chamayou 6e16545dbc
Raft Spec: Fix IsRetiredCommittedLog to use log argument (#6036) 2024-02-29 17:43:55 +00:00
Heidi Howard 4ade9c6028
Adding retiredcommitted as a node state (#6013) 2024-02-22 13:38:31 +00:00
Eddy Ashton 2c739c6559
RaftDriver: Always loop until sync is achieved at the end of a scenario (#6009) 2024-02-20 09:09:42 +00:00
Eddy Ashton 5e8dfdab92
ccfraft: Use `m.prevLogTerm` in `RejectAppendEntriesRequest` when finding highest match (#6028) 2024-02-19 20:47:07 +00:00
Heidi Howard 9575d6d8cf
Spring cleaning TLA+ (#6027) 2024-02-19 17:11:44 +00:00
Markus Alexander Kuppe 18bfb37cd8
Help TLC to only evaluate JsonServers once. (#6022) 2024-02-19 14:37:00 +00:00
Eddy Ashton 2092338dd6
RaftDriver: Log whenever messages are dropped, to simplify trace validation (#6021) 2024-02-19 09:27:15 +00:00
Eddy Ashton 443309e10d
Raft fixes: Rollback safety despite NACKs, and only ACK up to incoming AE (#6016) 2024-02-15 17:43:46 +00:00
Amaury Chamayou 35befc76e6
Add details of last matching line in TV CI (#6017) 2024-02-13 16:14:00 +00:00
Heidi Howard 1e6fac6808
Adding `ReplicationInv` to consensus spec (#6002) 2024-02-13 13:42:15 +00:00
Amaury Chamayou 748e20c8ec
Only use StateDeque for trace validation (#6015) 2024-02-12 18:12:19 +00:00
Amaury Chamayou dd3bcc3fcd
Tidy up TV cli again (#6012) 2024-02-12 15:59:33 +00:00
Markus Alexander Kuppe 56d9476e6c Assert Len(log[logline.msg.state.node_id]) = logline.msg.state.last_idx (where possible). 2024-02-12 02:12:00 -08:00
Markus Alexander Kuppe 1772e6a1c5 Assert membership state (where possible). 2024-02-12 02:12:00 -08:00
Markus Alexander Kuppe a5df0ec151 Assert leadershipState after every step (where possible). 2024-02-12 02:12:00 -08:00
Markus Alexander Kuppe 792c666c3a Add membership to alias. 2024-02-12 02:12:00 -08:00
Markus Alexander Kuppe 7194863d37 Assert commitIndex at every step where possible. 2024-02-12 02:12:00 -08:00
Heidi Howard b13b61d1cd
Adding RetiredCommitted transaction to consensus spec (#5978) 2024-02-09 17:01:56 +00:00
Amaury Chamayou 767a1072b5
RaftDriver: Add `assert_detail` (#6007) 2024-02-09 15:59:04 +00:00
Markus Alexander Kuppe 1ca0635d32 Implicitly verify ccfraft's invariants during trace validation. 2024-02-06 12:10:11 -08:00
Markus Alexander Kuppe b7c7ff31cb Correct bogus comment. 2024-02-06 12:10:11 -08:00
Markus Alexander Kuppe 4739d1fbc6 Have TLC show "DropAndNext" where otherwise "Unnamed Action" would be shown. 2024-02-06 12:10:11 -08:00
Markus Alexander Kuppe 080c62c6e3 If, e.g., the FALSE state constraint excludes all states, TraceMatched won't be violated.
In other words, TraceMatched is an optimization that -constrary to TraceMatchedNonTrivially- causes TLC to generate a counterexample.
2024-02-06 12:10:11 -08:00
Heidi Howard c801b76b3e
Comments to document use of `sent_idx` in spec (#5992) 2024-02-06 15:05:00 +00:00
Markus Alexander Kuppe 7aba2659c2 Allow dropping messages unconditionally at any step of the high-level behavior. 2024-02-05 09:59:03 -08:00
Markus Alexander Kuppe dedf5ada90 Immediately terminate model-checking when end of log is reached. 2024-02-05 09:59:03 -08:00
Markus Alexander Kuppe c89ef6429a Remove negation. 2024-02-05 09:59:03 -08:00
Eddy Ashton faee7cc538 Add debug alternatives 2024-02-05 09:59:03 -08:00
Eddy Ashton e6bc917213 Move ACK-dropping up a level 2024-02-05 09:59:03 -08:00
Eddy Ashton c8b3db5243 Use AllSubSeqs 2024-02-05 09:59:03 -08:00