Skip to content

Commit

Permalink
Add diagrams for write flow through Raft (#20948)
Browse files Browse the repository at this point in the history
Add diagrams about write flow through Raft
  • Loading branch information
freddygv authored Apr 4, 2024
1 parent 174f92a commit 8659c06
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/persistence/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ use [bbolt].
[boltdb]: https://github.com/boltdb/bolt
[bbolt]: https://github.com/etcd-io/bbolt

See [diagrams](#diagrams) below for more details on the interaction.

## State Store

Expand Down Expand Up @@ -111,3 +112,10 @@ storage.


[hashicorp/raft-autopilot]: https://github.com/hashicorp/raft-autopilot

## Diagrams
### High-level life of a write
![Overview](./write-overview.png)

### Deep-dive into write through Raft
![Deep dive](./write-deep-dive.png)
Binary file added docs/persistence/write-deep-dive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/persistence/write-overview.png
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 8659c06

Please sign in to comment.