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

placement: fix placement location issue (#2603) #2605

Merged
merged 3 commits into from
Jul 3, 2020

Conversation

ti-srebot
Copy link
Contributor

cherry-pick #2603 to release-4.0


What problem does this PR solve?

Fix #2601

What is changed and how it works?

Use DistinctScore way to compare placements.

Check List

Tests

  • Unit test

Related changes

  • Need to cherry-pick to the release branch

Release note

  • Fix the issue that when enable placement rules, sometimes replicas of region may not be able to adjust to the best location

Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
@HunDunDM HunDunDM modified the milestones: v4.0.2, v4.0.3 Jul 2, 2020
@JmPotato
Copy link
Member

JmPotato commented Jul 2, 2020

/run-all-tests

@JmPotato
Copy link
Member

JmPotato commented Jul 2, 2020

/run-test

@lhy1024
Copy link
Contributor

lhy1024 commented Jul 2, 2020

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Jul 2, 2020
@ti-srebot
Copy link
Contributor Author

Your auto merge job has been accepted, waiting for:

  • 2565

@ti-srebot
Copy link
Contributor Author

/run-all-tests

@ti-srebot
Copy link
Contributor Author

@ti-srebot merge failed.

@JmPotato
Copy link
Member

JmPotato commented Jul 3, 2020

/run-all-tests

@HunDunDM
Copy link
Member

HunDunDM commented Jul 3, 2020

/merge

@ti-srebot
Copy link
Contributor Author

/run-all-tests

@ti-srebot ti-srebot merged commit 1309eaf into tikv:release-4.0 Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/placement Placement rule. status/can-merge Indicates a PR has been approved by a committer. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants