tikv / tikv/pd

Throttle TiKV's total region count in allocate IDs

Open
#6,850 5 comments 0 reactions 0 assignees View on GitHub
type/development
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Development Task
Today it's necessary to limit the region count per TiKV, such as memory consumption.
In either raftstore v1 or v2 (partitioned-raft-kv), one tikv has a specific limit of region counts.
We probably want to fail the allocate ID when the total region count per TiKV exceeds a specific threshold. For v1, it can be 100K per 32GB, For v2, it can be 5K per 32GB.

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.