mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: remove defunct println
This commit is contained in:
parent
45500c5e7b
commit
8353340697
1
raft.go
1
raft.go
@ -300,7 +300,6 @@ func (sm *stateMachine) step(m Message) {
|
|||||||
case stateCandidate:
|
case stateCandidate:
|
||||||
switch m.Type {
|
switch m.Type {
|
||||||
case msgApp:
|
case msgApp:
|
||||||
println("lost to appendEnts")
|
|
||||||
sm.becomeFollower(sm.term, m.From)
|
sm.becomeFollower(sm.term, m.From)
|
||||||
handleAppendEntries()
|
handleAppendEntries()
|
||||||
case msgVoteResp:
|
case msgVoteResp:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user