pingcap / pingcap/tidb

[Dynamic Regions] split-table flag in TiDB should be disabled when partitioned raft kv is enabled

Open
#47,509 0 comments 0 reactions 0 assignees View on GitHub
affects-7.5 affects-8.1 affects-8.5 component/tikv may-affects-5.3 may-affects-5.4 may-affects-6.1 may-affects-6.5 may-affects-7.1 severity/major type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)
https://github.com/tikv/tikv/issues/15269
1. enable partitioned raft kv
2. create table
3. SPLIT TABLE %s BETWEEN (0) AND (1000000000) REGIONS %d
4. execute insert into %s values%s", tableName, valuesStr) in each region

### 2. What did you expect to see? (Required)
Pass
### 3. What did you see instead (Required)
Failure
### 4. What is your TiDB version? (Required)
7.4

It's kind of by design that partitioned raft kv cannot support many regions per TiKV and also even if it can support 10K more regions, the performance would be pretty bad. The split-table in general is not appropriate for partitioned raft kv.

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.