You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function raft_recv_appendentries_response contains 2 checks about null pointer node with different error codes but it's not clear witch one should be used:
`
if (!node)
return -1;
...
/* stop processing, this is a node we don't have in our configuration */
if (!node)
return 0;
`
May be the second check is redundant?
The text was updated successfully, but these errors were encountered:
function raft_recv_appendentries_response contains 2 checks about null pointer node with different error codes but it's not clear witch one should be used:
`
if (!node)
return -1;
...
/* stop processing, this is a node we don't have in our configuration */
if (!node)
return 0;
`
May be the second check is redundant?
The text was updated successfully, but these errors were encountered: