cockroachdb / cockroachdb/cockroach

multitenant: Optimize multi-tenant upgrade testing

Open
#98,869 0 comments 0 reactions 0 assignees View on GitHub
C-enhancement T-multitenant
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.