Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: transmit tenantID in grpc metadata #75795

Closed
knz opened this issue Feb 1, 2022 · 0 comments · Fixed by #96153
Closed

server: transmit tenantID in grpc metadata #75795

knz opened this issue Feb 1, 2022 · 0 comments · Fixed by #96153
Assignees
Labels
A-multitenancy Related to multi-tenancy C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. T-server-and-security DB Server & Security

Comments

@knz
Copy link
Contributor

knz commented Feb 1, 2022

Found by @jeffswenson and @tbg in #75766

When running with TLS disabled, we lose access to the tenantID in the RPCs from SQL servers to KV nodes.

To fix this, we'd want to put the tenantID also into grpc metadata. And use grpc metadata on the KV side.

Jira issue: CRDB-12838

Epic: CRDB-14537

@knz knz added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. A-multitenancy Related to multi-tenancy T-multitenant Issues owned by the multi-tenant virtual team labels Feb 1, 2022
@blathers-crl blathers-crl bot added the T-server-and-security DB Server & Security label Feb 1, 2022
@exalate-issue-sync exalate-issue-sync bot removed the T-multitenant Issues owned by the multi-tenant virtual team label Mar 10, 2022
@craig craig bot closed this as completed in 581560b Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-multitenancy Related to multi-tenancy C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. T-server-and-security DB Server & Security
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant