goraft/raft — pull request #198 by xiangli-cmu (2014-03-14 19:20:24+00:00)
Title: feat(server.go) introduce server.Init()

This commit enable dividing raft server starting process to two phase. So application can do extra work based on the last status of the raft server before actually start it. To implement this, we add a initialization phase, in which raft server reads in the log entires from data-dir and commits to the last recorded index.