You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
148804: all: reduce usage of `tenant 2` as an application tenant from tests r=msbutler,shubhamdhama a=Nukitt
Currently, we use tenant ID 2 as an application tenant in various tests.
However, in normal operational scenarios, the creation of tenant ID 2 is
explicitly disabled to avoid conflicts with its role in UA, as detailed here:
https://github.com/cockroachdb/cockroach/blob/9919801f067f26c951f43cbedfa093c37cdda20e/pkg/sql/tenant_creation.go#L604-L609
With the ongoing migration towards UA, tenant ID 2 will begin functioning
as a system tenant.
Consequently, we are shifting the application tenant role from tenant ID 2 to
tenant ID 3 to clearly separate the roles and responsibilities of system and
application tenants. This patch specifically addresses and reduces the usage
of tenant ID 2 within tests, ensuring tests align with this architectural adjustment
and maintaining consistency across the codebase.
Part of: #138801
Epic : CRDB-45181
Release note: none
Co-authored-by: Nukitt <[email protected]>
0 commit comments