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

schedule: fix scatter range #1642

Merged
merged 3 commits into from
Jul 24, 2019
Merged

schedule: fix scatter range #1642

merged 3 commits into from
Jul 24, 2019

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Jul 16, 2019

What problem does this PR solve?

There are some mistakes created by the previous PR which causes the scatter range scheduler cannot work.

What is changed and how it works?

This PR fixes it to make it work like before.

Check List

Tests

  • Unit test

Related changes

  • Need to cherry-pick to the release branch
  • Need to be included in the release notes

@rleungx rleungx added component/schedule Scheduling logic. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Jul 16, 2019
@nolouch nolouch added the needs-cherry-pick-release-3.0 The PR needs to cherry pick to release-3.0 branch. label Jul 17, 2019
@nolouch
Copy link
Contributor

nolouch commented Jul 17, 2019

Can we improve the metrics? now, it shares the same metrics with others.

@rleungx
Copy link
Member Author

rleungx commented Jul 17, 2019

@nolouch The way I used is not elegant. I am not sure if there is a better to implement it.

Copy link
Contributor

@shafreeck shafreeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx rleungx removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 23, 2019
Copy link
Contributor

@nolouch nolouch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nolouch
Copy link
Contributor

nolouch commented Jul 24, 2019

/run-integration-ddl-test

1 similar comment
@nolouch
Copy link
Contributor

nolouch commented Jul 24, 2019

/run-integration-ddl-test

@rleungx rleungx merged commit 5c89f9e into tikv:master Jul 24, 2019
rleungx added a commit to rleungx/pd that referenced this pull request Jul 24, 2019
* fix scatter range

Signed-off-by: Ryan Leung <rleungx@gmail.com>

* split scatter range metrics

Signed-off-by: Ryan Leung <rleungx@gmail.com>
rleungx added a commit to rleungx/pd that referenced this pull request Jul 24, 2019
* fix scatter range

Signed-off-by: Ryan Leung <rleungx@gmail.com>

* split scatter range metrics

Signed-off-by: Ryan Leung <rleungx@gmail.com>
disksing pushed a commit that referenced this pull request Jul 24, 2019
* fix scatter range

Signed-off-by: Ryan Leung <rleungx@gmail.com>

* split scatter range metrics

Signed-off-by: Ryan Leung <rleungx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/schedule Scheduling logic. needs-cherry-pick-release-3.0 The PR needs to cherry pick to release-3.0 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants