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: filter disconnected stores for leader transfer. #1072

Merged
merged 2 commits into from
May 17, 2018

Conversation

disksing
Copy link
Contributor

When a store's state is disconnected, it is likely to be either down, isolated, or busy, so we better not transfer leader to it.

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

@disksing disksing added component/schedule Scheduling logic. needs-cherry-pick-release-2.0 The PR needs to cherry pick to release-2.0 branch. labels May 17, 2018
Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@disksing disksing merged commit 7700f3b into tikv:master May 17, 2018
@disksing disksing deleted the disconnect-filter branch May 17, 2018 10:04
disksing added a commit to oh-my-tidb/pd that referenced this pull request May 18, 2018
disksing added a commit to oh-my-tidb/pd that referenced this pull request May 19, 2018
disksing added a commit that referenced this pull request May 20, 2018
* schedule: filter disconnected stores for leader transfer. (#1072)

* schedule: use shorter timeout for operator contains only leader transfer. (#1077)

* scheduleres: label scheduler takes care of unhealthy regions. (#1079)

* scheduler: evict-leader-scheduler checks reject-leader property. (#1073)
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-2.0 The PR needs to cherry pick to release-2.0 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants