tikv / tikv/pd

Improve create keyspace performance

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

Description

## Enhancement Task
When we create a keyspace, we first write a region label to etcd, then wait for the scheduling service to finish the split region operation. But the performance could be limited by the patrol region time. Only when a region is scanned and the split checker will create an operator, which is slow if we have too many regions in a large cluster. One possible way is to add the corresponding region to suspect regions to reduce the time cost of scanning the region.

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.