Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leader change not stable #237

Closed
gorilla001 opened this issue Jan 5, 2017 · 1 comment
Closed

leader change not stable #237

gorilla001 opened this issue Jan 5, 2017 · 1 comment
Assignees
Labels

Comments

@gorilla001
Copy link

raft2017/01/05 11:47:45 INFO: 1 is starting a new election at term 728
raft2017/01/05 11:47:45 INFO: 1 became candidate at term 729
raft2017/01/05 11:47:45 INFO: 1 received MsgVoteResp from 1 at term 729
raft2017/01/05 11:47:45 INFO: 1 became leader at term 729
raft2017/01/05 11:47:45 INFO: raft.node: 1 elected leader 1 at term 729
INFO[2017-01-05 11:47:45] Now leader is change to 127.0.0.1:9999
raft2017/01/05 11:47:47 INFO: 1 [logterm: 729, index: 1129, vote: 1] rejected MsgVote from 3 [logterm: 671, index: 20] at term 729
raft2017/01/05 11:47:50 INFO: 1 [term: 729] received a MsgVote message with higher term from 3 [term: 730]
raft2017/01/05 11:47:50 INFO: 1 became follower at term 730
raft2017/01/05 11:47:50 INFO: 1 [logterm: 729, index: 1129, vote: 0] rejected MsgVote from 3 [logterm: 671, index: 20] at term 730
raft2017/01/05 11:47:50 INFO: raft.node: 1 lost leader 1 at term 730

@gorilla001 gorilla001 self-assigned this Jan 5, 2017
@gorilla001 gorilla001 added the bug label Jan 5, 2017
@xiaods
Copy link
Contributor

xiaods commented Feb 20, 2017

should be add testing code to cover the case.

@xiaods xiaods closed this as completed Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants