raft: write entry 0 into log