Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unlimited high concurrent access to TiFlash may make TiFlash crash when using dynamic partition prune mode #35864

Open
windtalker opened this issue Jun 30, 2022 · 1 comment

Comments

@windtalker
Copy link
Contributor

Enhancement

In TiDB, when dynamic partition prune mode is enabled, and if there is a full table scan for a partition table in TiFlash, assuming the partition table has n partitions, and if TiDB access TiFlash in cop mode, then the accessing concurrency will be
n * dist_scan_concurrency
That is to say the accessing concurrency will increase linearly if the total partition number increase. These unlimited high concurrent access to TiFlash may make TiFlash crash, we need find a way to limit the overall accessing concurrency.

@SeaRise
Copy link
Contributor

SeaRise commented Mar 13, 2023

Maybe pingcap/tiflash#6394 alleviates the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants