Raft: Part 2 (Log Replication)

A developer’s perspective on Raft log replication: AppendEntries RPC, commitIndex vs lastApplied, and the Figure 8 problem explained.