Fix internal log index deadlock.
Merge branch 'master' of https://github.com/goraft/raft