Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix TestRaftIntegration/Basic-3-Nodes/CommandReplication #110

@jathurchan

Description

@jathurchan

The electionManager.processVoteReply function unconditionally attempts to transition to Leader if hasQuorum() returns true, without first checking if the node is already the leader in the current term. This redundancy, combined with the step-down logic in electionManager.becomeLeader when the stateManager.BecomeLeader call fails, creates an unstable election loop.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions