cockroachdb / cockroachdb/cockroach

cli/start: make `cockroach mt start-sql` work with tenant names

Open
#105,339 0 comments 0 reactions 1 assignee Claimed by @cthumuluru-crdb View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.