Fast timeout operator when leader changed #2493
Labels
component/schedule
Scheduling logic.
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
priority/release-blocker
This issue blocks a release. Please solve it ASAP.
type/enhancement
The issue or PR belongs to an enhancement.
Milestone
Feature Request
Describe your feature request related problem:
If the leader changed cause by TiKV(maybe too busy or network problem), the operator cannot step to the final state, such as
Then the operator needs 10mins to timeout, which may cause the rule sync learner became slow.
Describe the feature you'd like:
Describe alternatives you've considered:
We can check if the peer is the leader then fast timeout the operator.
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: