raft: do bcast when receiving msgBeat

release-2.0
Xiang Li 2014-06-02 10:37:32 -07:00 committed by Yicheng Qin
parent 09d1575eeb
commit 6fa74b0e33
1 changed files with 1 additions and 3 deletions

View File

@ -253,9 +253,7 @@ func (sm *stateMachine) Step(m Message) {
if sm.state != stateLeader {
return
}
// todo(xiangli) broadcast append
// blocker github issue #13
sm.sendAppend()
sm.bcastAppend()
case msgProp:
switch sm.lead {
case sm.addr: