old-raft-rs
old-raft-rs copied to clipboard
Log Compaction
Implement log compaction as specified in the raft paper. (See README.md
)
Features:
- [ ] Servers should take snapshots independently.
- [ ] A small amount of metadata is stored.
last_included_index
andlast_included_term
. - [ ] Ensure in the future said metadata can store cluster membership for #77.
Tasks:
- [ ] Determine how the servers know when to snapshot. I feel like this will be implementation specific and called from the
StateMachine
. - [ ] Build snapshot hook.
- [ ] Add an
InstallSnapshot
RPC.