coreos/etcd — pull request #1763 by xiang90 (2014-11-21 18:27:18+00:00)
Title: raft: raft.restore should never truncate the log at current term.

A raft state machine might receive out of date snapshot due to network latency.
A raft state machine MUST NOT truncate its matched log entries of current term
when it tries to restore a snapshot.