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 8 commits into from Dec 27, 2018


Copy link

commented Dec 6, 2018

Signed-off-by: nolouch

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


  • Unit test
  • Manual test

Code changes

  • Add an API interfaces
nolouch added 2 commits Dec 6, 2018
Signed-off-by: nolouch <>
Signed-off-by: nolouch <>
@nolouch nolouch requested review from disksing and rleungx Dec 10, 2018
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
nolouch added 2 commits Dec 13, 2018
Signed-off-by: nolouch <>
@huachaohuang huachaohuang merged commit a573364 into pingcap:master Dec 27, 2018
7 checks passed
7 checks passed
ci/circleci Your tests passed on CircleCI!
continuous-integration/travis-ci/pr The Travis CI build passed
coverage/coveralls First build on shuffle-hot at 79.436%
idc-jenkins-ci/build Jenkins job succeeded.
jenkins-ci-pd/build Jenkins job succeeded.
jenkins-ci-pd/unit-test Jenkins job succeeded.
license/cla Contributor License Agreement is signed.
@nolouch nolouch deleted the nolouch:shuffle-hot branch Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.