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

Reduce balance operator about empty region #2532

Closed
nolouch opened this issue Jun 11, 2020 · 3 comments
Closed

Reduce balance operator about empty region #2532

nolouch opened this issue Jun 11, 2020 · 3 comments
Labels
component/schedule Scheduling logic. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/enhancement The issue or PR belongs to an enhancement.

Comments

@nolouch
Copy link
Contributor

nolouch commented Jun 11, 2020

Feature Request

Describe your feature request related problem

There is a problem: cluster has many empty regions, we always see there are many operators of the balance region(because there has the store limit, so the balanced regions should be empty regions. )
image
image

Describe the feature you'd like

We may do not need to balance them.

Teachability, Documentation, Adoption, Migration Strategy

  • Go
@nolouch nolouch added type/enhancement The issue or PR belongs to an enhancement. status/discussion-wanted The issue needs to be discussed. component/schedule Scheduling logic. labels Jun 11, 2020
@JmPotato
Copy link
Member

because there has the store limit, so the balanced regions should be empty regions

Sorry for my poor comprehension, what does this actually mean?

@nolouch nolouch added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. and removed status/discussion-wanted The issue needs to be discussed. labels Aug 19, 2020
@nolouch
Copy link
Contributor Author

nolouch commented Aug 19, 2020

@JmPotato I mean the balance operator is caused by the empty regions(the region size is 1), maybe you can check the function shouldBalance in the server/schedulers/utils.go

@nolouch
Copy link
Contributor Author

nolouch commented Dec 16, 2020

closed by #3129

@nolouch nolouch closed this as completed Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/schedule Scheduling logic. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants