-
Notifications
You must be signed in to change notification settings - Fork 4.1k
multitenant: Optimize multi-tenant upgrade testing #98869
Copy link
Copy link
Open
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-multitenantIssues owned by the multi-tenant virtual teamIssues owned by the multi-tenant virtual team
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-multitenantIssues owned by the multi-tenant virtual teamIssues owned by the multi-tenant virtual team