Skip to content

settings: redefine TenantReadOnly to take its value from the system tenant #85729

@knz

Description

@knz

As discussed with @stevendanna @dt and @ajwerner :

  • we want a setting class which uses a single shared value between system and secondary tenants.
  • the current behavior of TenantReadOnly (one value per tenant) can be readily emulated by a TenantReadWrite setting + an OVERRIDE in the system tenant.

So to achieve point 1, we can redefine TenantReadOnly to make settings take their value from the system tenant.

Informs #77472

Epic: CRDB-6671

Jira issue: CRDB-18406

Metadata

Metadata

Assignees

Labels

A-configurabilityPertains to cluster settings, CLI flags, env vars etcC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-shared-systemsShared Systems Team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions