Skip to content

server: make the DatabaseDetails endpoint tenant-scoped #90261

@THardy98

Description

@THardy98

Is your feature request related to a problem? Please describe.
Part of: #89429
Blockers: #82879, #90267

As part of our effort to migrate to a multi-tenant architecture, we need to ensure our existing database details endpoint is tenant-scoped.

Unfortunately, the DatabaseDetails endpoint makes use of two functions that block our ability to scope to tenants:

To maintain all information we provide currently, the blockers above would need to be resolved to allow the endpoint to be tenant-scoped.
Alternatively, If we choose to initially omit database statistics from the DatabaseDetails endpoint:

if req.IncludeStats {

we can immediately work on tenant-scoping the endpoint, with the idea to resolve the blockers above in the future.

Jira issue: CRDB-20662

Epic CRDB-16704

Metadata

Metadata

Assignees

Labels

C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions