Skip to content

Commit

Permalink
raft: update log message about advancing term
Browse files Browse the repository at this point in the history
Just a log message change.

Epic: None
Release note: None
  • Loading branch information
nvanbenschoten committed Nov 12, 2024
1 parent af71316 commit 499f642
Show file tree
Hide file tree
Showing 30 changed files with 87 additions and 87 deletions.
2 changes: 1 addition & 1 deletion pkg/raft/raft.go
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ func (r *raft) Step(m pb.Message) error {
// rejected our vote so we should become a follower at the new
// term.
default:
r.logger.Infof("%x [term: %d] received a %s message with higher term from %x [term: %d]",
r.logger.Infof("%x [term: %d] received a %s message with higher term from %x [term: %d], advancing term",
r.id, r.Term, m.Type, m.From, m.Term)
if IsMsgIndicatingLeader(m.Type) {
// We've just received a message that indicates that a new leader
Expand Down
4 changes: 2 additions & 2 deletions pkg/raft/testdata/async_storage_writes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ stabilize
]
> 2 receiving messages
1->2 MsgVote Term:1 Log:1/10
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
INFO 2 [logterm: 1, index: 10, vote: 0] cast MsgVote for 1 [logterm: 1, index: 10] at term 1
> 3 receiving messages
1->3 MsgVote Term:1 Log:1/10
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 3 became follower at term 1
INFO 3 [logterm: 1, index: 10, vote: 0] cast MsgVote for 1 [logterm: 1, index: 10] at term 1
> 1 processing append thread
Expand Down
16 changes: 8 additions & 8 deletions pkg/raft/testdata/async_storage_writes_append_aba_race.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ Messages:
deliver-msgs 4 5 6
----
3->4 MsgVote Term:2 Log:1/11
INFO 4 [term: 1] received a MsgVote message with higher term from 3 [term: 2]
INFO 4 [term: 1] received a MsgVote message with higher term from 3 [term: 2], advancing term
INFO 4 became follower at term 2
INFO 4 [logterm: 1, index: 11, vote: 0] cast MsgVote for 3 [logterm: 1, index: 11] at term 2
3->5 MsgVote Term:2 Log:1/11
INFO 5 [term: 1] received a MsgVote message with higher term from 3 [term: 2]
INFO 5 [term: 1] received a MsgVote message with higher term from 3 [term: 2], advancing term
INFO 5 became follower at term 2
INFO 5 [logterm: 1, index: 11, vote: 0] cast MsgVote for 3 [logterm: 1, index: 11] at term 2
3->6 MsgVote Term:2 Log:1/11
INFO 6 [term: 1] received a MsgVote message with higher term from 3 [term: 2]
INFO 6 [term: 1] received a MsgVote message with higher term from 3 [term: 2], advancing term
INFO 6 became follower at term 2
INFO 6 [logterm: 1, index: 11, vote: 0] cast MsgVote for 3 [logterm: 1, index: 11] at term 2

Expand Down Expand Up @@ -221,7 +221,7 @@ Messages:
deliver-msgs 1 drop=(2,4,5,6,7)
----
3->1 MsgVote Term:2 Log:1/11
INFO 1 [term: 1] received a MsgVote message with higher term from 3 [term: 2]
INFO 1 [term: 1] received a MsgVote message with higher term from 3 [term: 2], advancing term
INFO 1 became follower at term 2
INFO 1 [logterm: 1, index: 12, vote: 0] rejected MsgVote from 3 [logterm: 1, index: 11] at term 2
3->1 MsgFortifyLeader Term:2 Log:0/0
Expand Down Expand Up @@ -287,15 +287,15 @@ Messages:
deliver-msgs 5 6 7
----
4->5 MsgVote Term:3 Log:1/11
INFO 5 [term: 2] received a MsgVote message with higher term from 4 [term: 3]
INFO 5 [term: 2] received a MsgVote message with higher term from 4 [term: 3], advancing term
INFO 5 became follower at term 3
INFO 5 [logterm: 1, index: 11, vote: 0] cast MsgVote for 4 [logterm: 1, index: 11] at term 3
4->6 MsgVote Term:3 Log:1/11
INFO 6 [term: 2] received a MsgVote message with higher term from 4 [term: 3]
INFO 6 [term: 2] received a MsgVote message with higher term from 4 [term: 3], advancing term
INFO 6 became follower at term 3
INFO 6 [logterm: 1, index: 11, vote: 0] cast MsgVote for 4 [logterm: 1, index: 11] at term 3
4->7 MsgVote Term:3 Log:1/11
INFO 7 [term: 1] received a MsgVote message with higher term from 4 [term: 3]
INFO 7 [term: 1] received a MsgVote message with higher term from 4 [term: 3], advancing term
INFO 7 became follower at term 3
INFO 7 [logterm: 1, index: 11, vote: 0] cast MsgVote for 4 [logterm: 1, index: 11] at term 3

Expand Down Expand Up @@ -427,7 +427,7 @@ Messages:
deliver-msgs 1
----
4->1 MsgFortifyLeader Term:3 Log:0/0
INFO 1 [term: 2] received a MsgFortifyLeader message with higher term from 4 [term: 3]
INFO 1 [term: 2] received a MsgFortifyLeader message with higher term from 4 [term: 3], advancing term
INFO 1 became follower at term 3
4->1 MsgApp Term:3 Log:1/11 Commit:11 Entries:[3/12 EntryNormal ""]
INFO found conflict at index 12 [existing term: 2, conflicting term: 3]
Expand Down
4 changes: 2 additions & 2 deletions pkg/raft/testdata/campaign.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ stabilize
INFO 1 has received 1 MsgVoteResp votes and 0 vote rejections
> 2 receiving messages
1->2 MsgVote Term:1 Log:1/2
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
INFO 2 [logterm: 1, index: 2, vote: 0] cast MsgVote for 1 [logterm: 1, index: 2] at term 1
> 3 receiving messages
1->3 MsgVote Term:1 Log:1/2
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 3 became follower at term 1
INFO 3 [logterm: 1, index: 2, vote: 0] cast MsgVote for 1 [logterm: 1, index: 2] at term 1
> 2 handling Ready
Expand Down
2 changes: 1 addition & 1 deletion pkg/raft/testdata/campaign_learner_must_vote.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ stabilize 3
> 3 receiving messages
2->3 MsgVote Term:2 Log:1/4
DEBUG 3 setting election elapsed to start from 3 ticks after store liveness support expired
INFO 3 [term: 1] received a MsgVote message with higher term from 2 [term: 2]
INFO 3 [term: 1] received a MsgVote message with higher term from 2 [term: 2], advancing term
INFO 3 became follower at term 2
INFO 3 [logterm: 1, index: 3, vote: 0] cast MsgVote for 2 [logterm: 1, index: 4] at term 2
> 3 handling Ready
Expand Down
2 changes: 1 addition & 1 deletion pkg/raft/testdata/confchange_fortification_safety.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ stabilize 1 4
1->3 MsgApp Term:1 Log:1/4 Commit:4 Entries:[1/5 EntryNormal ""]
> 4 receiving messages
1->4 MsgFortifyLeader Term:1 Log:0/0
INFO 4 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1]
INFO 4 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1], advancing term
INFO 4 became follower at term 1
1->4 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChangeV2 v4]
DEBUG 4 [logterm: 0, index: 3] rejected MsgApp [logterm: 1, index: 3] from 1
Expand Down
2 changes: 1 addition & 1 deletion pkg/raft/testdata/confchange_v1_add_single.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ stabilize
1->2 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChange v2]
> 2 receiving messages
1->2 MsgFortifyLeader Term:1 Log:0/0
INFO 2 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
1->2 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChange v2]
DEBUG 2 [logterm: 0, index: 3] rejected MsgApp [logterm: 1, index: 3] from 1
Expand Down
4 changes: 2 additions & 2 deletions pkg/raft/testdata/confchange_v2_add_double_auto.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ stabilize 1 2
----
> 2 receiving messages
1->2 MsgFortifyLeader Term:1 Log:0/0
INFO 2 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
1->2 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChangeV2 v2 v3]
DEBUG 2 [logterm: 0, index: 3] rejected MsgApp [logterm: 1, index: 3] from 1
Expand Down Expand Up @@ -178,7 +178,7 @@ stabilize 1 3
----
> 3 receiving messages
1->3 MsgFortifyLeader Term:1 Log:0/0
INFO 3 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1]
INFO 3 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1], advancing term
INFO 3 became follower at term 1
1->3 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChangeV2 v2 v3]
DEBUG 3 [logterm: 0, index: 3] rejected MsgApp [logterm: 1, index: 3] from 1
Expand Down
2 changes: 1 addition & 1 deletion pkg/raft/testdata/confchange_v2_add_single_auto.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ stabilize
1->2 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChangeV2 v2]
> 2 receiving messages
1->2 MsgFortifyLeader Term:1 Log:0/0
INFO 2 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
1->2 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChangeV2 v2]
DEBUG 2 [logterm: 0, index: 3] rejected MsgApp [logterm: 1, index: 3] from 1
Expand Down
2 changes: 1 addition & 1 deletion pkg/raft/testdata/confchange_v2_add_single_explicit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ stabilize 1 2
1->2 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChangeV2 v2]
> 2 receiving messages
1->2 MsgFortifyLeader Term:1 Log:0/0
INFO 2 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
1->2 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChangeV2 v2]
DEBUG 2 [logterm: 0, index: 3] rejected MsgApp [logterm: 1, index: 3] from 1
Expand Down
2 changes: 1 addition & 1 deletion pkg/raft/testdata/confchange_v2_add_single_implicit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ stabilize
1->2 MsgApp Term:1 Log:1/4 Commit:4 Entries:[1/5 EntryConfChangeV2]
> 3 receiving messages
1->3 MsgFortifyLeader Term:1 Log:0/0
INFO 3 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1]
INFO 3 [term: 0] received a MsgFortifyLeader message with higher term from 1 [term: 1], advancing term
INFO 3 became follower at term 1
1->3 MsgApp Term:1 Log:1/3 Commit:4 Entries:[1/4 EntryConfChangeV2 v3]
DEBUG 3 [logterm: 0, index: 3] rejected MsgApp [logterm: 1, index: 3] from 1
Expand Down
20 changes: 10 additions & 10 deletions pkg/raft/testdata/de_fortification_basic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ stabilize
]
> 2 receiving messages
1->2 MsgVote Term:1 Log:1/2
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
INFO 2 [logterm: 1, index: 2, vote: 0] cast MsgVote for 1 [logterm: 1, index: 2] at term 1
> 3 receiving messages
1->3 MsgVote Term:1 Log:1/2
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 3 became follower at term 1
INFO 3 [logterm: 1, index: 2, vote: 0] cast MsgVote for 1 [logterm: 1, index: 2] at term 1
> 1 processing append thread
Expand Down Expand Up @@ -405,12 +405,12 @@ stabilize
]
> 1 receiving messages
2->1 MsgVote Term:2 Log:1/3
INFO 1 [term: 1] received a MsgVote message with higher term from 2 [term: 2]
INFO 1 [term: 1] received a MsgVote message with higher term from 2 [term: 2], advancing term
INFO 1 became follower at term 2
INFO 1 [logterm: 1, index: 3, vote: 0] cast MsgVote for 2 [logterm: 1, index: 3] at term 2
> 3 receiving messages
2->3 MsgVote Term:2 Log:1/3
INFO 3 [term: 1] received a MsgVote message with higher term from 2 [term: 2]
INFO 3 [term: 1] received a MsgVote message with higher term from 2 [term: 2], advancing term
INFO 3 became follower at term 2
INFO 3 [logterm: 1, index: 3, vote: 0] cast MsgVote for 2 [logterm: 1, index: 3] at term 2
> 2 processing append thread
Expand Down Expand Up @@ -754,7 +754,7 @@ stabilize
]
> 1 receiving messages
3->1 MsgVote Term:4 Log:2/4
INFO 1 [term: 2] received a MsgVote message with higher term from 3 [term: 4]
INFO 1 [term: 2] received a MsgVote message with higher term from 3 [term: 4], advancing term
INFO 1 became follower at term 4
INFO 1 [logterm: 2, index: 4, vote: 0] cast MsgVote for 3 [logterm: 2, index: 4] at term 4
> 2 receiving messages
Expand Down Expand Up @@ -807,7 +807,7 @@ stabilize
3->1 MsgApp Term:4 Log:2/4 Commit:4 Entries:[4/5 EntryNormal ""]
> 2 receiving messages
3->2 MsgFortifyLeader Term:4 Log:0/0
INFO 2 [term: 2] received a MsgFortifyLeader message with higher term from 3 [term: 4]
INFO 2 [term: 2] received a MsgFortifyLeader message with higher term from 3 [term: 4], advancing term
DEBUG 2 setting election elapsed to start from 3 ticks after store liveness support expired
INFO 2 became follower at term 4
3->2 MsgApp Term:4 Log:2/4 Commit:4 Entries:[4/5 EntryNormal ""]
Expand Down Expand Up @@ -1026,12 +1026,12 @@ stabilize
> 1 receiving messages
2->1 MsgVote Term:5 Log:4/5
DEBUG 1 setting election elapsed to start from 3 ticks after store liveness support expired
INFO 1 [term: 4] received a MsgVote message with higher term from 2 [term: 5]
INFO 1 [term: 4] received a MsgVote message with higher term from 2 [term: 5], advancing term
INFO 1 became follower at term 5
INFO 1 [logterm: 4, index: 5, vote: 0] cast MsgVote for 2 [logterm: 4, index: 5] at term 5
> 3 receiving messages
2->3 MsgVote Term:5 Log:4/5
INFO 3 [term: 4] received a MsgVote message with higher term from 2 [term: 5]
INFO 3 [term: 4] received a MsgVote message with higher term from 2 [term: 5], advancing term
INFO 3 became follower at term 5
INFO 3 [logterm: 4, index: 5, vote: 0] cast MsgVote for 2 [logterm: 4, index: 5] at term 5
> 2 processing append thread
Expand Down Expand Up @@ -1317,7 +1317,7 @@ stabilize
> 2 receiving messages
1->2 MsgVote Term:6 Log:5/6
DEBUG 2 setting election elapsed to start from 3 ticks after store liveness support expired
INFO 2 [term: 5] received a MsgVote message with higher term from 1 [term: 6]
INFO 2 [term: 5] received a MsgVote message with higher term from 1 [term: 6], advancing term
INFO 2 became follower at term 6
INFO 2 [logterm: 5, index: 6, vote: 0] cast MsgVote for 1 [logterm: 5, index: 6] at term 6
> 3 receiving messages
Expand Down Expand Up @@ -1369,7 +1369,7 @@ stabilize
1->2 MsgApp Term:6 Log:5/6 Commit:6 Entries:[6/7 EntryNormal ""]
> 3 receiving messages
1->3 MsgApp Term:6 Log:5/6 Commit:6 Entries:[6/7 EntryNormal ""]
INFO 3 [term: 5] received a MsgApp message with higher term from 1 [term: 6]
INFO 3 [term: 5] received a MsgApp message with higher term from 1 [term: 6], advancing term
DEBUG 3 setting election elapsed to start from 3 ticks after store liveness support expired
INFO 3 became follower at term 6
> 1 processing append thread
Expand Down
4 changes: 2 additions & 2 deletions pkg/raft/testdata/de_fortification_checkquorum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ stabilize 1 3
INFO 3 has received 1 MsgVoteResp votes and 0 vote rejections
> 1 receiving messages
3->1 MsgVote Term:3 Log:2/12
INFO 1 [term: 2] received a MsgVote message with higher term from 3 [term: 3]
INFO 1 [term: 2] received a MsgVote message with higher term from 3 [term: 3], advancing term
INFO 1 became follower at term 3
INFO 1 [logterm: 2, index: 12, vote: 0] cast MsgVote for 3 [logterm: 2, index: 12] at term 3
> 1 handling Ready
Expand Down Expand Up @@ -415,7 +415,7 @@ stabilize
3->2 MsgApp Term:3 Log:2/12 Commit:13 Entries:[3/13 EntryNormal ""]
> 2 receiving messages
3->2 MsgFortifyLeader Term:3 Log:0/0
INFO 2 [term: 2] received a MsgFortifyLeader message with higher term from 3 [term: 3]
INFO 2 [term: 2] received a MsgFortifyLeader message with higher term from 3 [term: 3], advancing term
INFO 2 became follower at term 3
3->2 MsgApp Term:3 Log:2/12 Commit:13 Entries:[3/13 EntryNormal ""]
> 2 handling Ready
Expand Down
6 changes: 3 additions & 3 deletions pkg/raft/testdata/fortification_basic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,17 @@ stabilize 2 3 4
----
> 2 receiving messages
1->2 MsgVote Term:1 Log:1/2
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
INFO 2 [logterm: 1, index: 2, vote: 0] cast MsgVote for 1 [logterm: 1, index: 2] at term 1
> 3 receiving messages
1->3 MsgVote Term:1 Log:1/2
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 3 became follower at term 1
INFO 3 [logterm: 1, index: 2, vote: 0] cast MsgVote for 1 [logterm: 1, index: 2] at term 1
> 4 receiving messages
1->4 MsgVote Term:1 Log:1/2
INFO 4 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 4 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 4 became follower at term 1
INFO 4 [logterm: 1, index: 2, vote: 0] cast MsgVote for 1 [logterm: 1, index: 2] at term 1
> 2 handling Ready
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ stabilize
INFO 1 has received 1 MsgVoteResp votes and 0 vote rejections
> 2 receiving messages
1->2 MsgVote Term:1 Log:1/10
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
INFO 2 [logterm: 1, index: 10, vote: 0] cast MsgVote for 1 [logterm: 1, index: 10] at term 1
> 3 receiving messages
1->3 MsgVote Term:1 Log:1/10
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 3 became follower at term 1
INFO 3 [logterm: 1, index: 10, vote: 0] cast MsgVote for 1 [logterm: 1, index: 10] at term 1
> 2 handling Ready
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ stabilize
INFO 1 has received 1 MsgVoteResp votes and 0 vote rejections
> 2 receiving messages
1->2 MsgVote Term:1 Log:1/10
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
INFO 2 [logterm: 1, index: 10, vote: 0] cast MsgVote for 1 [logterm: 1, index: 10] at term 1
> 3 receiving messages
1->3 MsgVote Term:1 Log:1/10
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 3 became follower at term 1
INFO 3 [logterm: 1, index: 10, vote: 0] cast MsgVote for 1 [logterm: 1, index: 10] at term 1
> 2 handling Ready
Expand Down
12 changes: 6 additions & 6 deletions pkg/raft/testdata/fortification_followers_dont_prevote.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ stabilize
INFO 1 has received 1 MsgVoteResp votes and 0 vote rejections
> 2 receiving messages
1->2 MsgVote Term:1 Log:1/10
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 2 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 2 became follower at term 1
INFO 2 [logterm: 1, index: 10, vote: 0] cast MsgVote for 1 [logterm: 1, index: 10] at term 1
> 3 receiving messages
1->3 MsgVote Term:1 Log:1/10
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1]
INFO 3 [term: 0] received a MsgVote message with higher term from 1 [term: 1], advancing term
INFO 3 became follower at term 1
INFO 3 [logterm: 1, index: 10, vote: 0] cast MsgVote for 1 [logterm: 1, index: 10] at term 1
> 2 handling Ready
Expand Down Expand Up @@ -265,7 +265,7 @@ stabilize
INFO 1 [logterm: 1, index: 11, vote: 1] ignored MsgVote from 2 [logterm: 1, index: 11] at term 1: supporting fortified leader 1 at epoch 1
> 3 receiving messages
2->3 MsgVote Term:2 Log:1/11
INFO 3 [term: 1] received a MsgVote message with higher term from 2 [term: 2]
INFO 3 [term: 1] received a MsgVote message with higher term from 2 [term: 2], advancing term
INFO 3 became follower at term 2
INFO 3 [logterm: 1, index: 11, vote: 0] cast MsgVote for 2 [logterm: 1, index: 11] at term 2
> 3 handling Ready
Expand All @@ -291,7 +291,7 @@ stabilize
2->3 MsgApp Term:2 Log:1/11 Commit:11 Entries:[2/12 EntryNormal ""]
> 1 receiving messages
2->1 MsgFortifyLeader Term:2 Log:0/0
INFO 1 [term: 1] received a MsgFortifyLeader message with higher term from 2 [term: 2]
INFO 1 [term: 1] received a MsgFortifyLeader message with higher term from 2 [term: 2], advancing term
INFO 1 became follower at term 2
2->1 MsgApp Term:2 Log:1/11 Commit:11 Entries:[2/12 EntryNormal ""]
> 3 receiving messages
Expand Down Expand Up @@ -530,12 +530,12 @@ stabilize
INFO 2 has received 1 MsgVoteResp votes and 0 vote rejections
> 1 receiving messages
2->1 MsgVote Term:3 Log:2/12
INFO 1 [term: 2] received a MsgVote message with higher term from 2 [term: 3]
INFO 1 [term: 2] received a MsgVote message with higher term from 2 [term: 3], advancing term
INFO 1 became follower at term 3
INFO 1 [logterm: 2, index: 12, vote: 0] cast MsgVote for 2 [logterm: 2, index: 12] at term 3
> 3 receiving messages
2->3 MsgVote Term:3 Log:2/12
INFO 3 [term: 2] received a MsgVote message with higher term from 2 [term: 3]
INFO 3 [term: 2] received a MsgVote message with higher term from 2 [term: 3], advancing term
INFO 3 became follower at term 3
INFO 3 [logterm: 2, index: 12, vote: 0] cast MsgVote for 2 [logterm: 2, index: 12] at term 3
> 1 handling Ready
Expand Down
Loading

0 comments on commit 499f642

Please sign in to comment.