cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.03k stars 3.79k forks source link

ua: change minimum secondary tenant ID from {2} to {3} #131907

Open cthumuluru-crdb opened 2 weeks ago

cthumuluru-crdb commented 2 weeks ago

Part of UA migration experiments, tenant ID {2} is reserved and will be used as a system tenant post migration. To ensure no user secondary tenant is created with tenant ID {2}, change the minimum secondary tenant ID from {2} to {3}.

https://github.com/cockroachdb/cockroach/blob/c68c559859be738efead9971f5e11f62a8c69d06/pkg/roachpb/tenant.go#L31-L33

Epic: CRDB-42740

Jira issue: CRDB-42753

cthumuluru-crdb commented 2 weeks ago

@stevendanna - created a ticket per our discussion.

stevendanna commented 2 weeks ago

Thanks. To add some additional detail: I don't actually know if this is possible or desired given the existing tenants in CC. So, a reasonable outcome of this ticket would be a decision not to do this and a big update to the comment on top of that variable explaining the situation.