Skip to content

Performance issue loading missing tenant variables #9636

@octopus-hideaki

Description

@octopus-hideaki

Severity

Sev 2

Version

2025.2

Latest Version

I could reproduce the problem in the latest build

What happened?

Slow API response for `/tenants/variables-missing' is causing issues with the following actions:

  • Loading tenant overview page
  • Save tenant variables from the tenant page
  • Project Dashboard for projects with tenanted deployments enabled

Reproduction

  • Create 100 projects
  • Create 100 tenants
  • Connect all projects to all tenants
  • Create 100 project tenant template variables
  • Create 100 library sets
  • Create 100 library set tenant template variables
  • Observe `/tenants/variables-missing' API call taking 1 min+

Error and Stacktrace

More Information

No response

Workaround

No response

Metadata

Metadata

Labels

kind/bugThis issue represents a verified problem we are committed to solving

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions