Skip to content

multitenant: Optimize multi-tenant upgrade testing #98869

@ajstorm

Description

@ajstorm

As mentioned in the code review on #94998, perform the following optimizations:

  • When encountering that the cache is stale in GetInstance(), refresh the cache.
  • In multtenant-upgrade, disable distSQL instead of removing the check to validate that tenant 11 is still able to query the database.
  • Build a version of GetAllInstancesNoCache() which accepts a sessionID and only looks for that specific instance.
  • Disable the RPC circuit breaker throughout TestTenantUpgradeInterlock

Jira issue: CRDB-25560

Epic CRDB-31933

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-multitenantIssues owned by the multi-tenant virtual team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions