Skip to content

release-26.1: roachtest: skip revision history and zone config in mixed-version backup on pre-24.1 tenants#170868

Open
dt wants to merge 1 commit into
cockroachdb:release-26.1from
dt:backport26.1-170069
Open

release-26.1: roachtest: skip revision history and zone config in mixed-version backup on pre-24.1 tenants#170868
dt wants to merge 1 commit into
cockroachdb:release-26.1from
dt:backport26.1-170069

Conversation

@dt
Copy link
Copy Markdown
Contributor

@dt dt commented May 24, 2026

Backport 1 of 2 commits from #170069 on behalf of @dt.

(The second commit on the original PR is a CollectionConfig refactor of
infrastructure that does not exist on this branch, so it is omitted.)


Zone configuration is not supported in virtual clusters on versions
older than 24.1. When the mixed-version backup test runs with a
multitenant deployment starting from a pre-24.1 version, the
"configure gc policies" step fails with "operation is disabled within
a virtual cluster".

Rather than just skipping the GC TTL configuration, also skip
revision_history backups for these pre-24.1 multitenant runs. The GC
TTL only exists to bound MVCC history accumulation for revision history
backups, so if we're not using revision history, we don't need the TTL
either. AOST restore selection already checks withRevisionHistory() so
it correctly avoids picking an AOST when revision history is not
present.


Release justification: test-only roachtest fix for mixed-version backup pre-24.1 tenants

…kup on pre-24.1 tenants

Zone configuration is not supported in virtual clusters on versions
older than 24.1. When the mixed-version backup test runs with a
multitenant deployment starting from a pre-24.1 version, the
"configure gc policies" step fails with "operation is disabled within
a virtual cluster".

Rather than just skipping the GC TTL configuration, also skip
revision_history backups for these pre-24.1 multitenant runs. The GC
TTL only exists to bound MVCC history accumulation for revision history
backups, so if we're not using revision history, we don't need the TTL
either. AOST restore selection already checks withRevisionHistory() so
it correctly avoids picking an AOST when revision history is not
present.

Fixes: cockroachdb#167512
Epic: none
@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io Bot commented May 24, 2026

Merging to release-26.1 in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@blathers-crl
Copy link
Copy Markdown

blathers-crl Bot commented May 24, 2026

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl Bot added backport Label PR's that are backports to older release branches T-disaster-recovery labels May 24, 2026
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@dt dt requested a review from msbutler May 24, 2026 18:47
@blathers-crl blathers-crl Bot added the backport-test-only Used to denote the backport has only non-production changes label May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Label PR's that are backports to older release branches backport-test-only Used to denote the backport has only non-production changes T-disaster-recovery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants