multitenant: re-evalutate SystemVisible cluster setting class #79223
Labels
A-multitenancy
Related to multi-tenancy
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-multitenant
Issues owned by the multi-tenant virtual team
Describe the problem
The early drafts of the multi-tenant cluster settings RFC (#73349) proposed a SystemVisible class of cluster settings. This class would be writable only from the system tenant but still be readable from other tenants.
The difference between SystemVisible and TenantReadOnly is that the value would only ever be read from the host tenant's value of the setting and it would not be overridable on a per tenant basis.
An example of where this might be useful are setting like
kv.rangefeed.enabled
where the host-tenant is responsible for changing behavior based on that setting, but where we also want to check the setting before creating changefeeds in order to provide a more useful error message.Currently, the closest you can get to the behavior is to set the system cluster setting and also adding a tenant override that applies to all tenants. But, the tenants are then reading from a value that won't actually be used by the kvserver.
Jira issue: CRDB-14648
The text was updated successfully, but these errors were encountered: