Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Willemt Raft
Commits
7182f92c
Commit
7182f92c
authored
Oct 25, 2016
by
Maxim Kupriianov
Committed by
Willem
Oct 25, 2016
Browse files
Update raft.h
Delete duplicated entires of the same two functions.
parent
42ac86d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/raft.h
View file @
7182f92c
...
@@ -650,14 +650,6 @@ int raft_get_state(raft_server_t* me_);
...
@@ -650,14 +650,6 @@ int raft_get_state(raft_server_t* me_);
* @return the last log term */
* @return the last log term */
int
raft_get_last_log_term
(
raft_server_t
*
me_
);
int
raft_get_last_log_term
(
raft_server_t
*
me_
);
/** Tell if we are a leader, candidate or follower.
* @return get state of type raft_state_e. */
int
raft_get_state
(
raft_server_t
*
me_
);
/** The the most recent log's term
* @return the last log term */
int
raft_get_last_log_term
(
raft_server_t
*
me_
);
/** Turn a node into a voting node.
/** Turn a node into a voting node.
* Voting nodes can take part in elections and in-regards to commiting entries,
* Voting nodes can take part in elections and in-regards to commiting entries,
* are counted in majorities. */
* are counted in majorities. */
...
...
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