Control cop request concurrency for `sortedSelectResult`
Open
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
Assessment
This issue has not been assessed yet.