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

Consider store status for running operators #4232

Open
disksing opened this issue Oct 21, 2021 · 0 comments
Open

Consider store status for running operators #4232

disksing opened this issue Oct 21, 2021 · 0 comments
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@disksing
Copy link
Contributor

Feature Request

Describe your feature request related problem

In specific cases, such as when the state of the store changes to Down and it becomes practically impossible for some operator to continue advancing, the best way is to immediately cancel the operator and free up the quota for other schedulers.

We have previously fixed partial of the issue #4223

The reason for not fixing it completely is that the previous PR only considered TransferLeader, AddLearner, AddPeer. For the other types, it is more complicated to determine if the scheduling could continue. For example, for PromoteLearner (located in a down store), if there is only one voter, it cannot continue, if there are more voters, then it can continue.

Describe the feature you'd like

Consider store status more completely.

Describe alternatives you've considered

Teachability, Documentation, Adoption, Migration Strategy

@disksing disksing added the type/enhancement The issue or PR belongs to an enhancement. label Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant