licensing: clarify the multi-tenant UX of setting the license cluster setting #96221
Labels
A-licensing
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Describe the problem
Currently, our enterprise license configuration UX is as follows:
SET CLUSTER SETTING enterprise.license
on the system tenant.seconds_until_enterprise_license_expiry
is exported at the prometheus endpoint for the system tenantCOCKROACH_TENANT_LICENSE
is set to contain a valid license.This is problematic for our multi-tenancy plans, where we want Dedicated/SH customers to use secondary tenants by default.
As of this writing, users trying to point their apps to CockroachDB will encounter errors relating to a missing Enterprise license.
The reason why the Eng team did not see this is because our dev workflow auto-enables licensing in other ways
cockroach demo
disables license checks globallyCOCKROACH_DEV_LICENSE
set in their shell to override the licenseExpected behavior
TBD. A strawperson argument:
COCKROACH_TENANT_LICENSE
Further discussion is needed.
Jira issue: CRDB-24012
Epic: CRDB-26689
The text was updated successfully, but these errors were encountered: