Xiang Li 085447ed85 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-05-27 13:32:04 -07:00
..
2015-03-25 10:14:35 -07:00
2015-03-28 14:53:42 -07:00
2015-03-23 14:01:17 -07:00
2015-03-17 17:35:18 +08:00
2015-03-23 21:20:49 -07:00
2015-03-18 15:59:30 -07:00
2015-04-24 03:28:57 -04:00
2015-03-18 15:49:06 -07:00
2015-05-27 13:32:04 -07:00
2015-05-27 13:32:04 -07:00
2015-04-03 13:21:26 -07:00
2015-03-23 09:55:19 -07:00
2015-03-18 15:59:30 -07:00
2015-04-03 11:38:01 -07:00
2015-03-18 15:59:30 -07:00