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

raft: do not change RecentActive when resetState for progress #5921

Merged
merged 1 commit into from
Jul 12, 2016

Conversation

xiang90
Copy link
Contributor

@xiang90 xiang90 commented Jul 12, 2016

Fix #5879.

This reset is completely unnecessary. Most of time it is also wrong, since the state is usually changed when leader receives a message from follower, which indicates the follower is actually active.

@xiang90
Copy link
Contributor Author

xiang90 commented Jul 12, 2016

/cc @siddontang

@siddontang
Copy link
Contributor

LGTM

@xiang90
Copy link
Contributor Author

xiang90 commented Jul 12, 2016

/cc @bdarnell minor issues. i will just merge this. just want to let you know :) thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants