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

the concurrency of running TTL tasks should be limited #41585

Closed
Tracked by #39262
YangKeao opened this issue Feb 20, 2023 · 0 comments · Fixed by #41586
Closed
Tracked by #39262

the concurrency of running TTL tasks should be limited #41585

YangKeao opened this issue Feb 20, 2023 · 0 comments · Fixed by #41586

Comments

@YangKeao
Copy link
Member

The TTL tasks are not limited, so all workers (at least 1 * count of TiDB) will join to work on the TTL tasks, which make it hard to control the whole resource consumed by the TTL.

We could add a new variable tidb_ttl_running_task to control the whole concurrency of TTL tasks. All workers must check the running tasks cannot exceed this value.

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

Successfully merging a pull request may close this issue.

1 participant