Skip to content

Conversation

@Nukitt
Copy link
Contributor

@Nukitt Nukitt commented Jun 19, 2025

Currently we support tenant id 2 as an application tenant in tests
but tenant id 2 doesn't exist in demo cluster and normal operations.

Following the migration to UA, tenant 2 would be a system
tenant and will no longer serve as an application tenant.

Due to this, we are moving the tenant id 2 to tenant id 3.
This patch removes any usage of tenant id 2 from tests and
also disables the creation of tenants with id 2.

Fixes : #138801
Epic : CRDB-45181
Release note : none

Nukitt added 2 commits June 18, 2025 05:03
Currently we support tenant id 2 as an application tenant in tests
but tenant id 2 doesn't exist in demo cluster and normal operations.

Following the migration to UA, tenant 2 would be a system
tenant and will no longer serve as an application tenant.

Due to this, we are moving the tenant id 2 to tenant id 3.
This patch removes any usage of tenant id 2 from tests and
also disables the creation of tenants with id 2.

Fixes : cockroachdb#138801
Epic : CRDB-45181
Release note : none
@blathers-crl
Copy link

blathers-crl bot commented Jun 19, 2025

Your pull request contains more than 1000 changes. It is strongly encouraged to split big PRs into smaller chunks.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Nukitt added a commit to Nukitt/cockroach-go that referenced this pull request Jun 23, 2025
Following the migration to UA, we are not allowing tenantID 2
to be used as an application tenant anymore. Currently testserver
creates tenantid 2, but it will fail to do so in the future
following the rule to disable tenant id 2 in
cockroachdb/cockroach#148561.

This change will allow us to start assigning tenantIDs from 3 and
pass the failing tests in #148561.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ua: reduce usage of tenant 2 as an application tenant from tests

2 participants