cockroachdb / cockroachdb/cockroach
cli/start: make `cockroach mt start-sql` work with tenant names
Open
A-multitenancy
C-enhancement
T-db-server
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Currently the command takes a numeric tenant ID as parameter.
We would like that it also works with a tenant name. For this to work the process startup would want to work in two steps:
1. look up the ID from the name using a RPC request to the KV layer
2. use the ID resulting from the lookup to further initialize the SQL service.
Jira issue: CRDB-28991
Epic CRDB-39093
Contributor guide
Assessment
This issue has not been assessed yet.