6.824 Lab 2: Raft


I’m learning MIT 6.824: Distributed Systems recently. This post is my solution to lab 2. This lab requires to implement a Raft system.

Part 2A: leader election