Skip to content

Commit

Permalink
Update architecture docs with new Raft log engine.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgrinaker committed Nov 15, 2023
1 parent 323dc78 commit cb7f4f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ methods are synchronous and may cause state transitions, e.g. changing a candida
when it receives the winning vote.

Nodes have a command log [`raft::Log`](https://github.com/erikgrinaker/toydb/blob/master/src/raft/log.rs),
using a `storage::log::Store` for storage. Leaders receive client commands via request messages,
using a `storage::Engine` for storage. Leaders receive client commands via request messages,
replicate them to peers, and commit the commands to the log subject to consensus. Once a command is
committed, is it applied to the state machine asynchronously.

Expand Down
2 changes: 1 addition & 1 deletion docs/images/architecture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cb7f4f4

Please sign in to comment.