tikv / tikv/pd

Smart `patrol-region-interval` config

Open
#5,382 0 comments 0 reactions 0 assignees View on GitHub
type/feature-request
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

The current default value of patrol-region-interval is 10ms. On a small-scale cluster, it will cause a relatively high CPU usage, but basically invalid judgments are being made.

### Describe the feature you'd like

Add `patrol-region-time` config, let
`patrol-region-interval` can automatically change with the region count of the cluster.

### Describe alternatives you've considered

### Teachability, Documentation, Adoption, Migration Strategy

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.