Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Willemt Raft
Commits
9235fc73
Commit
9235fc73
authored
Jun 11, 2018
by
Willem Thiart
Browse files
Add more raft_begin_load_snapshot docs
parent
71807cee
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/raft.h
View file @
9235fc73
...
@@ -816,6 +816,9 @@ int raft_get_first_entry_idx(raft_server_t* me_);
...
@@ -816,6 +816,9 @@ int raft_get_first_entry_idx(raft_server_t* me_);
* This is usually the result of a snapshot being loaded.
* This is usually the result of a snapshot being loaded.
* We need to send an appendentries response.
* We need to send an appendentries response.
*
*
* This will remove all other nodes (not ourself). The user MUST use the
* snapshot to load the new membership information.
*
* @param[in] last_included_term Term of the last log of the snapshot
* @param[in] last_included_term Term of the last log of the snapshot
* @param[in] last_included_index Index of the last log of the snapshot
* @param[in] last_included_index Index of the last log of the snapshot
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment