tikv / tikv/pd

Add a special scheduler for evict leader with timeout

Open
#2,782 7 comments 1 reaction 0 assignees View on GitHub
component/scheduler status/discussion-wanted type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Feature Request

### Describe your feature request related problem

To upgrade the TiKV cluster, we will use `evict-leader-scheduler` to ensure the restart TiKV has no leader. but we encountered the problem that the `evict-leader-scheduler` was not deleted many times during the rolling upgrade process. In order to better solve the problem, we can provide a special evict leader scheduling with a timeout for the deployment tool.

### Describe the feature you'd like

Add a special scheduler for evict leader with timeout

### Describe alternatives you've considered
the timeout should suitable in most cases.

### Teachability, Documentation, Adoption, Migration Strategy
- Go

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.