-
Notifications
You must be signed in to change notification settings - Fork 237
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
The semantics of the nuraft::snapshot #509
Comments
Hi @unixod
In short,
|
Hi @greensky00 Thanks, the answer clarified a lot of things. But I still have several questions.
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Is it correct to assume that for each call of
read_logical_snp_obj(s, ...)
made by NuRaft, the following holds?s
contains an information about raft log entry at which latest snapshot was made;s
is equal to the one which was passed to latest call ofcreate_snapshot
(i.e. s.get_last_log_idx() is equal to index of latest log entry included into latest snapshot);To be more general, I'm wondering what information is passed as a first parameter to functions:
create_snapshot(snapshot&, ...)
read_logical_snp_obj(snapshot&, ...)
save_logical_snp_obj(snapshot&, ...)
apply_snapshot(snapshot&, ...)
The text was updated successfully, but these errors were encountered: