【MIT6.824】lab2C-persistence, lab2D-log compaction 实现笔记
引言lab2C的实验要求如下 Complete the functions persist() and readPersist() in raft.go by adding code to save and restore persistent state. You will need to encode (or “serialize”) the state as an array of byte