pingcap / pingcap/tidb

Control cop request concurrency for `sortedSelectResult`

Open
#42,244 0 comments 0 reactions 1 assignee Claimed by @Defined2014 View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
After https://github.com/pingcap/tidb/pull/42024, the concurrency for partition table will be number of partitions which is not same as before.
The concurrency should be controlled by `tidb_distsql_scan_concurrency`, maybe we could generate different plan for different partition number of partitions.

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.