-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
ttl: add resource group for ttl query #40930
Conversation
[REVIEW NOTIFICATION] This pull request has not been approved. To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Skipping CI for Draft Pull Request. |
34f9894
to
7760d7b
Compare
/run-build-arm64 |
1 similar comment
/run-build-arm64 |
7760d7b
to
1830c3a
Compare
/run-build-arm64 |
377e60e
to
6dfd0f9
Compare
6dfd0f9
to
49924d6
Compare
/run-build-arm64 |
49924d6
to
f28ebbd
Compare
|
||
// CreateTTLResourceGroup creates the resource group for ttl | ||
// TODO: set a more proper value for the RU_PER_SECOND | ||
CreateTTLResourceGroup = `CREATE RESOURCE GROUP IF NOT EXISTS tidb_ttl RU_PER_SEC=10000000` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I set a super big value for the tidb_ttl
, so the ttl is not limited by default. If the users want to limit the TTL, they could alter the resource group tidb_ttl
. Is it a good pattern?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can user CREATE RESOURCE GROUP IF NOT EXISTS tidb_ttl RU_PER_SEC=10000 BURSTABLE
instead.
/cc @bb7133 This seems to be a short term workaround for a specific propose and the implementation is somewhat tricky. Do we really need to merge it into master? |
f28ebbd
to
17cd02e
Compare
17cd02e
to
2156950
Compare
Signed-off-by: YangKeao <[email protected]>
2156950
to
0d16e84
Compare
/retest |
@YangKeao: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@YangKeao: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What problem does this PR solve?
Issue Number: close #40928
Problem Summary:
Add resource group
tidb_ttl
for the ttl query. The user can tune the configuration for this resource group throughalter resource group
.I was running some experiments to get a more proper RU value.
What is changed and how it works?
Check List
Tests
WIP
Release note