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
{{ message }}
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
caseEvent(msg: RequestVote, m: ElectionMeta) if msg.term > m.currentTerm =>
log.info("Received newer {}. Current term is {}. Revert to follower state.", msg.term, m.currentTerm)
as @colin-scott mentioned, perhaps could be improved to try again after becoming:
perhaps you should forward the RequestVote message instead of dropping it?
e.g.
m.clusterSelf forward msg
goto(Follower) using m.forFollower(msg.term)
The text was updated successfully, but these errors were encountered:
This optimization can be applied in a bunch of places. Basically, whenever any nodes receives a message that has a higher term, it should forward that message to itself before transitioning to a new term.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This:
as @colin-scott mentioned, perhaps could be improved to try again after becoming:
The text was updated successfully, but these errors were encountered: