Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgrinaker committed Jun 9, 2024
1 parent 2cfaa8d commit 532ae40
Show file tree
Hide file tree
Showing 3 changed files with 523 additions and 549 deletions.
3 changes: 3 additions & 0 deletions src/raft/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ impl encoding::Key<'_> for KeyPrefix {}
/// 5 | 2 | UPDATE table SET value = 'bar' WHERE id = 1
/// 6 | 2 | DELETE FROM table WHERE id = 1
///
/// Note that this is for illustration only, and the actual toyDB Raft commands
/// are not SQL statements but lower-level write operations.
///
/// A key/value store is used to store the log entries on disk, keyed by index,
/// along with a few other metadata keys (e.g. who we voted for in this term).
///
Expand Down
Loading

0 comments on commit 532ae40

Please sign in to comment.