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

TiKV graceful upgrade #93

Closed
xiaojingchen opened this issue Sep 10, 2018 · 0 comments · Fixed by #104
Closed

TiKV graceful upgrade #93

xiaojingchen opened this issue Sep 10, 2018 · 0 comments · Fixed by #104
Assignees
Labels
status/WIP Issue/PR is being worked on
Milestone

Comments

@xiaojingchen
Copy link
Contributor

xiaojingchen commented Sep 10, 2018

TiKV graceful upgrade steps:

  1. call the pd's api pd/api/v1/schedulers with the value {"evict-leader-scheduler":storeID}, then pd will start a scheduler to evict leaders in the tikv.
  2. wait util all leaders in the tikv have be evicted
  3. call call the pd's api pd/api/v1/schedulers/{storeID} to delete the scheduler
  4. check the tikv's status until they are all available then continue to upgrade the next tikv pod
@weekface weekface added this to the v0.3 milestone Sep 11, 2018
@xiaojingchen xiaojingchen self-assigned this Sep 14, 2018
@xiaojingchen xiaojingchen added the status/WIP Issue/PR is being worked on label Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/WIP Issue/PR is being worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants