Skip to content

Commit

Permalink
B: Wrong term stored in DB after stopping oned in leader mode
Browse files Browse the repository at this point in the history
(cherry picked from commit 31830b6)
  • Loading branch information
rsmontero committed Oct 11, 2017
1 parent ec74047 commit 23825b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raft/RaftManager.cc
Expand Up @@ -253,7 +253,7 @@ void RaftManager::finalize_action(const ActionRequest& ar)

if (is_leader())
{
follower(-1);
follower(0);
}
}

Expand Down

0 comments on commit 23825b2

Please sign in to comment.