Xiang Li b4dd519a63 raft: fix raft node start bug
raft node should set initial prev hard state to empty.
Or it will not send the first hard coded state to application
until the state changes again.

This commit fixs the issue. It introduce a small overhead, that
the same tate might send to application twice when restarting.
But this is fine.
2015-06-16 14:10:41 -07:00
..
2015-01-14 17:34:10 -05:00
2015-02-09 18:52:34 -08:00
2015-03-21 11:11:21 -07:00
2015-05-15 11:30:32 -07:00
2015-06-16 14:10:41 -07:00
2015-06-16 14:10:41 -07:00
2015-01-26 16:39:33 -08:00