Open knz opened 3 years ago
We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!
still very much relevant!
This came up while reviewing #59604 and also investigating #59998
There are multiple places in the SQL code where there is an abstraction inversion: the SQL code calls into RPC endpoints in the server package, which are not intended for use directly by SQL.
In particular, these RPC endpoints are not yet defined for SQL-only servers, which occur in multi-tenant deployments.
The proper way forward is to define a separate "sub-service" API inside the SQL package, which depends only on the client-side KV API, and not dependent on the server machinery, and also is guaranteed to be available in SQL-only pods of multi-tenant deployments.
Systems affected:
cc @jordanlewis
Jira issue: CRDB-3176