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: create http middleware that routes to appropriate in-process tenant #91537

Closed
dhartunian opened this issue Nov 8, 2022 · 2 comments
Closed
Assignees
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Comments

@dhartunian
Copy link
Collaborator

dhartunian commented Nov 8, 2022

In-process non-system tenants can accept HTTP requests to their status/admin servers through the single HTTP port of the node by parsing a cookie selecting a tenant either by ID or name.

The request is routed automatically to that tenant and the session cookie is resolved in that tenant's context.

Out of scope:

  1. Routing to out-of-process tenants (should return 404 if tenant is unable to be reached)
  2. Session cookie parsing/handling changes

Jira issue: CRDB-21310

Epic CRDB-14487

@dhartunian dhartunian added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-observability-inf labels Nov 8, 2022
@dhartunian dhartunian self-assigned this Nov 8, 2022
@dhartunian
Copy link
Collaborator Author

Resolved via #91744

@dhartunian
Copy link
Collaborator Author

Some additional work with sessions is also in #92694

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
None yet
Development

No branches or pull requests

1 participant