multitenant: rethink UX/schema of crdb_internal.range{,_no_leases}
under multi-tenancy
#93198
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-multitenant
Issues owned by the multi-tenant virtual team
Describe the problem
With #92131, secondary tenants are able to access
crdb_internal.ranges{,_no_leases}
. Here's how some sample output looks:The schema here assumes that every range will belong to at-most 1 table. However, this isn't true for secondary tenants, as we no longer split on table boundaries for them. As such, this schema doesn't make much sense and could use a rethink.
Completing the example above, the output above seems to indicate that the
users
table is on range 56. This isn't true however, as the output ofSHOW TABLES
is here:All these tables are on r56.
cc @knz @ecwall
Jira issue: CRDB-22216
Epic CRDB-22701
The text was updated successfully, but these errors were encountered: