-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[store/meta]: add disk backed raft-state impl #1051
Comments
Sorry for that I didn't understand the purpose to persist the metas. |
There are some other information must be persisted, according to the raft paper, including the current term, and the leader a node has voted for. E.g. if the
|
OK, I see. |
closed by #1056 |
Summary
Persist raft state, which includes id,
current_term
andvoted_for
on disk.This is the first step to impl the disk backed raft meta.
The next step is to impl disk-backed log and state machine.
Part of #271
The text was updated successfully, but these errors were encountered: