tikv / tikv/pd

Make speed control command friendly

Open
#2,504 0 comments 0 reactions 0 assignees View on GitHub
component/tools difficulty/easy help 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:

User want to increase the balance speed, but now user need to turn a number for some limit:
```
region-schedule-limit
replica-schedule-limit
store-balance-rate
store limit 100 region-add
store limit all 100 region-remove
max-pending-peer-count
max-snapshot-count
```
Too many settings.
### Describe the feature you'd like:

consider adding some commands to adjust the speed in `pd-ctl`, such as:
```
store limit set scene idle
store limit set scene busy
store limit set scene default
```

Contributor guide

Open the contributing guide

Research direction

Start at the pd-ctl entry point and trace the existing `store limit` command before deciding how the proposed scene commands fit. Confirm what idle, busy, and default should change among the listed speed settings, then verify each command produces the intended balance-speed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.