pingcap / pingcap/tidb

confusing low threads error for import into

Open
#64,373 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

When performing `import into` with global sort on a 4C dedicated cluster, it reports an error `ERROR 8173 (HY000): PreCheck failed: global sort requires at least 8 threads`. But actually we specify `thread=16` on the `import into`statement. Seems no matter what the `thread` argument you specify, it rounds to the maximum allow value(cpu core number). I think this is a bit confusing and might throw an error or at least warning when user specify a thread value larger than the maximum allow value.

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.