benbjohnson/go-raft — pull request #99 by xiangli-cmu (2013-08-06 02:36:01+00:00)
Title: Fix snapshot

when restart, compact all the log entries before snapshot. Avoid wrong startTerm