raft: do not applysnapshot in raft