Skip to content

Commit

Permalink
Fewer StartTerm instances (#5840)
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Nov 17, 2023
1 parent a648fc3 commit 0f59a5d
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 11 deletions.
2 changes: 0 additions & 2 deletions tla/consensus/MCccfraft.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ CONSTANTS
Configurations <- 1Configuration
Servers <- ToServers

StartTerm = 2

MaxTermLimit = 2
MaxCommitsNotified = 0
RequestLimit = 3
Expand Down
2 changes: 0 additions & 2 deletions tla/consensus/MCccfraftAtomicReconfig.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ CONSTANTS
Configurations <- 2Configurations
Servers <- ToServers

StartTerm = 2

MaxTermLimit = 5
MaxCommitsNotified = 2
RequestLimit = 3
Expand Down
2 changes: 0 additions & 2 deletions tla/consensus/MCccfraftWithReconfig.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ CONSTANTS
Configurations <- 3Configurations
Servers <- ToServers

StartTerm = 2

MaxTermLimit = 4
MaxCommitsNotified = 2
RequestLimit = 2
Expand Down
2 changes: 0 additions & 2 deletions tla/consensus/SIMccfraft.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ SPECIFICATION SIMSpec
CONSTANTS
Servers <- Servers_mc

StartTerm = 2

Nil = Nil

Follower = Follower
Expand Down
2 changes: 0 additions & 2 deletions tla/consensus/Traceccfraft.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ CONSTANTS

InitReconfigurationVars <- TraceInitReconfigurationVars

StartTerm = 2

Nil = Nil

Follower = Follower
Expand Down
2 changes: 1 addition & 1 deletion tla/consensus/ccfraft.tla
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ CONSTANTS Servers
ASSUME Servers /= {} /\ IsFiniteSet(Servers)

\* Initial term used by the Start node in the network
CONSTANT StartTerm
StartTerm == 2

Nil ==
(*************************************************************************)
Expand Down

0 comments on commit 0f59a5d

Please sign in to comment.