This is the lab of MIT 6.824 2018.
- Lab 1 MapReduce hasn't test
- Lab 2 Raft(raft.go):
Set DebugMode to true while debuging to print debug logs.
Outline of the API that raft expose to the service (or tester):- rf = Make(...)
create a new Raft server. - rf.Start(command interface{}) (Index, Term, isleader)
start agreement on a new log entry - rf.GetState() (Term, isLeader)
ask a Raft for its current Term, and whether it thinks it is leader
- rf = Make(...)
- 2A: Passed TestElection, TestReElection
- 2B: Passed TestBasicAgree2B, TestFailAgree2B, TestFailNoAgree2B, TestConcurrentStarts2B, TestRejoin2B, TestBackup2B, TestCount2B
- 2C: Passed TestPersist12C, TestPersist22C, TestPersist32C, TestFigure82C, TestUnreliableAgree2C, TestFigure8Unreliable2C, TestReliableChurn2C, TestUnreliableChurn2C