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
f035a8fb
Commit
f035a8fb
authored
Sep 01, 2015
by
Willem Thiart
Browse files
Added HOWTO guide
parent
527439d4
Changes
1
Show whitespace changes
Inline
Side-by-side
HOWTO.rst
View file @
f035a8fb
...
@@ -75,9 +75,9 @@ Our Raft application receives log entries from the client.
...
@@ -75,9 +75,9 @@ Our Raft application receives log entries from the client.
When this happens we need to:
When this happens we need to:
-
Redirect the client to the Raft cluster leader (if necessary)
*
Redirect the client to the Raft cluster leader (if necessary)
-
Append the entry to our log
*
Append the entry to our log
-
Block until the log entry has been committed [#]_
*
Block until the log entry has been committed [#]_
.. [#] When the log entry has been replicated across a majority of servers in the Raft cluster
.. [#] When the log entry has been replicated across a majority of servers in the Raft cluster
...
@@ -305,7 +305,6 @@ For this callback the user needs to remove the most oldes log entry [#]_. The lo
...
@@ -305,7 +305,6 @@ For this callback the user needs to remove the most oldes log entry [#]_. The lo
This callback only needs to be implemented to support log compaction.
This callback only needs to be implemented to support log compaction.
log_pop
log_pop
-------
-------
For this callback the user needs to remove the most youngest log entry [#]_. The log MUST be saved to disk before this callback returns.
For this callback the user needs to remove the most youngest log entry [#]_. The log MUST be saved to disk before this callback returns.
...
...
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