raft: restart using last written entry also