Skip to content

Test suite to guide implementations of RAFT consensus protocol

License

Notifications You must be signed in to change notification settings

mprimi/RAFT-test-suite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAFT-protocol-test-suite

Test suite to guide implementations of RAFT consensus protocol


The RAFT consensus algorithm was designed to be easier to understand and implement than its older cousin Paxos.

While the paper along with plenty of resources and reference implementations can be a great guide, there are still a number of under-specified and ambiguous details that could result in minor and major implementation errors (i.e. deviation from the spec, code bugs, etc.).

Implementing RAFT may be easier than Paxos, but it's still not trivial. In fact, the well-specified pseudocode may create a false sense of security, leading to implementations that are confidently wrong.

This project contains a collection of test specification that cover all the most critical behavior that a RAFT implementation should pass.