docs/README.md
This documentation provides a high level introduction to the hashicorp/raft
implementation. The intended audience is anyone interested in understanding
or contributing to the code.
This documentation uses the following terms as defined.
hashicorp/raft. A
peer may be in one of the following states: follower, candidate, or leader.hashicorp/raft libraryMost write operations must be performed on the leader.
Read operations can be performed on a peer in any state.
Raft uses the following threads to handle operations. The name of the thread is in bold, and a short description of the operation handled by the thread follows. The main thread is responsible for handling many operations.