-
Notifications
You must be signed in to change notification settings - Fork 3.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
tenantcostcontrol: change settings to TenantReadOnly #76680
Conversation
This commit implements the advertised `TenantReadOnly` semantics, changes the `kv.protectedts.reconciliation.interval` setting to `TenantReadOnly`, and adds some relevant tests. Note that the settings watcher already ignores any values for `TenantReadOnly` variables in the system.settings table. This commit includes a test for that. Release note: None
This commit changes the settings relevant for RU accounting and limiting to `TenantReadOnly`. The tenant cost model values are now used (instead of always using the default values). The range of values for `tenant_cpu_usage_allowance` is extended since we no longer have to worry about the tenant bumping it up. Release note: None
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.
Reviewed 3 of 3 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @ajstorm and @dt)
I added a commit that fixes the use of settings in the jobsprotectedts tests. CC @adityamaru |
This commit fixes these tests to set these settings on the host cluster as well as on the tenant. Release note: None
59de7de
to
f331966
Compare
bors r+ |
Build failed (retrying...): |
Build succeeded: |
tenant settings: implement TenantReadOnly semantics
This commit implements the advertised
TenantReadOnly
semantics,changes the
kv.protectedts.reconciliation.interval
setting toTenantReadOnly
, and adds some relevant tests.Note that the settings watcher already ignores any values for
TenantReadOnly
variables in thesystem.settings
table. This commitincludes a test for that.
Release note: None
tenantcostcontrol: change settings to TenantReadOnly
This commit changes the settings relevant for RU accounting and
limiting to
TenantReadOnly
. The tenant cost model values are nowused (instead of always using the default values). The range of values
for
tenant_cpu_usage_allowance
is extended since we no longer haveto worry about the tenant bumping it up.
Release note: None