Skip to content

roachtest: add OR to backup roundtrip chaos test and introduce an OR fixture chaos test#170867

Draft
andrew-r-thomas wants to merge 2 commits into
cockroachdb:masterfrom
andrew-r-thomas:roachtest-or-chaos
Draft

roachtest: add OR to backup roundtrip chaos test and introduce an OR fixture chaos test#170867
andrew-r-thomas wants to merge 2 commits into
cockroachdb:masterfrom
andrew-r-thomas:roachtest-or-chaos

Conversation

@andrew-r-thomas
Copy link
Copy Markdown
Contributor

This patch adjusts the backup-restore/chaos roachtest to
metamorphically run online restore, and inject an additional failure
during the download phase. Additionally, a fixture based restore
roachtest with failure injection is introduced for additional coverage
and utility during stability investigations.

Epic: None

Release note: None

This patch teaches the online restore download job to correctly report
progress in the face of temporary node failures. Previously, the
`DownloadSpans` rpc returning per-node errors would cause the job's main
context group to be canceled, causing a retry to trigger before the job
could report a progress update based on the `SpanStats` rpc. This patch
adjust the goroutines in these context groups to save per-node errors
rather than returning them, and triggers a retry once the context group
completes in that case, allowing the job to continue updating progress
while some nodes error during an rpc fanout.

Epic: None

Release note: None
fixture chaos test

This patch adjusts the `backup-restore/chaos` roachtest to
metamorphically run online restore, and inject an additional failure
during the download phase. Additionally, a fixture based restore
roachtest with failure injection is introduced for additional coverage
and utility during stability investigation.

Epic: None

Release note: None
@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io Bot commented May 24, 2026

Merging to master 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

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants