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

Conversation

@nolouch
Copy link
Member

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
nolouch added 2 commits Dec 6, 2018
Signed-off-by: nolouch <nolouch@gmail.com>
types
Signed-off-by: nolouch <nolouch@gmail.com>
@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 <nolouch@gmail.com>
@huachaohuang huachaohuang merged commit a573364 into pingcap:master Dec 27, 2018
7 checks passed
7 checks passed
ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls First build on shuffle-hot at 79.436%
Details
idc-jenkins-ci/build Jenkins job succeeded.
Details
jenkins-ci-pd/build Jenkins job succeeded.
Details
jenkins-ci-pd/unit-test Jenkins job succeeded.
Details
license/cla Contributor License Agreement is signed.
Details
@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
Projects
None yet
4 participants
You can’t perform that action at this time.