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
f87df1dc
Commit
f87df1dc
authored
May 17, 2018
by
Willem Thiart
Browse files
Revert node check
This fixes the virtraft checks.
parent
09657b1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/raft_server.c
View file @
f87df1dc
...
...
@@ -1092,9 +1092,7 @@ void raft_offer_log(raft_server_t* me_, raft_entry_t* ety, const int idx)
break
;
case
RAFT_LOGTYPE_ADD_NODE
:
if
(
!
node
)
{
node
=
raft_add_node
(
me_
,
NULL
,
node_id
,
is_self
);
}
node
=
raft_add_node
(
me_
,
NULL
,
node_id
,
is_self
);
assert
(
node
);
assert
(
raft_node_is_voting
(
node
));
break
;
...
...
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