goraft/raft — pull request #192 by benbjohnson (2014-02-25 13:57:45+00:00)
Title: Change LogEntry.Decode() to use io.ReadFull()

Per @ayende, a log entry can be partially read which could cause corruption or data loss. This changes the read to ensure that the expected number of bytes are read.

Fix: #191

/cc @xiangli-cmu