cockroachdb / cockroachdb/cockroach

upgrades: exercise TestConcurrentMigrationAttempts with secondary tenants

Open
#107,395 0 comments 0 reactions 0 assignees View on GitHub
A-cluster-upgrades A-multitenancy A-testing C-enhancement T-db-server
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

For context, the test TestConcurrentMigrationAttempts checks that multiple concurrent issues of `SET CLUSTER SETTING version` make progress in each client that issues it.

As currently written, this test only works in the system tenant. It should have a variant that also works for secondary tenants.

Informs #76378

Jira issue: CRDB-30019

Epic: CRDB-48526

Contributor guide

Open the contributing guide

Research direction

Locate the existing TestConcurrentMigrationAttempts test and read how it exercises concurrent SET CLUSTER SETTING version operations for the system tenant. Add a secondary-tenant variant following the same checks, then run the relevant test to confirm both tenant types make progress.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.