mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

It is safe to repair the unexpectedEOF error in the last wal. raft will not send out message before the entry successfully comitted into wal. Thus we can safely truncate the last entry in the wal to repair.