Commit 7182f92c authored by Maxim Kupriianov's avatar Maxim Kupriianov Committed by Willem
Browse files

Update raft.h

Delete duplicated entires of the same two functions.
parent 42ac86d3
...@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment