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

[FLASH-222] Raft Cmd ChangePeer Should Update Conf Version #43

Merged
merged 2 commits into from
Apr 11, 2019
Merged

[FLASH-222] Raft Cmd ChangePeer Should Update Conf Version #43

merged 2 commits into from
Apr 11, 2019

Conversation

solotzg
Copy link
Contributor

@solotzg solotzg commented Apr 10, 2019

Each ChangePeer command will increase the config version of region. Rngine has already provided those information in raft_cmdpb::AdminResponse, so we need to assign the corresponding region meta. If not, learner read may fail while checking conf version.

@solotzg
Copy link
Contributor Author

solotzg commented Apr 10, 2019

/run-integration-tests

@solotzg solotzg requested a review from innerr April 10, 2019 11:19
@solotzg
Copy link
Contributor Author

solotzg commented Apr 10, 2019

/run-integration-tests

@solotzg solotzg requested review from flowbehappy and removed request for innerr April 10, 2019 12:41
@solotzg solotzg changed the title Fix bug: raft cmd ChangePeer should update conf version. [FLASH-222] Raft Cmd ChangePeer Should Update Conf Version Apr 11, 2019
@flowbehappy
Copy link
Contributor

flowbehappy commented Apr 11, 2019

👍 LGTM

@solotzg solotzg merged commit aaf97bc into pingcap:master Apr 11, 2019
@solotzg solotzg deleted the fix-bug branch April 11, 2019 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants