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

*: Add shuffle hot region scheduler #1361

Merged
merged 8 commits into from
Dec 27, 2018
Merged

Conversation

nolouch
Copy link
Contributor

@nolouch nolouch commented Dec 6, 2018

Signed-off-by: nolouch nolouch@gmail.com

What problem does this PR solve?

Mainly use this schedule in the test. Used to test whether TiKV will be affected under poor hotspot scheduling.

What is changed and how it works?

move hot region and transfer the leader to the newly added hot peer

Check List

Tests

  • Unit test
  • Manual test

Code changes

  • Add an API interfaces

Signed-off-by: nolouch <nolouch@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>
server/api/api.raml Outdated Show resolved Hide resolved
server/schedulers/scheduler_test.go Outdated Show resolved Hide resolved
server/schedulers/shuffle_hot_region.go Show resolved Hide resolved
@huachaohuang huachaohuang merged commit a573364 into tikv:master Dec 27, 2018
@nolouch nolouch deleted the shuffle-hot branch January 17, 2019 05:42
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.

None yet

4 participants