Skip to content

roachtest: update jobs/mixed-version to use RESTORE#53752

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
pbardea:mixed-version-final
Sep 8, 2020
Merged

roachtest: update jobs/mixed-version to use RESTORE#53752
craig[bot] merged 1 commit intocockroachdb:masterfrom
pbardea:mixed-version-final

Conversation

@pbardea
Copy link
Copy Markdown
Contributor

@pbardea pbardea commented Sep 1, 2020

Previously, this roachtest would use IMPORT, but IMPORTs do not support
being run in mixed-version clusters. This test now uses RESTORE as the
job under test.

Fixes #52284.
Fixes #52075.
Fixes #51699.
Fixes #51186.
Fixes #51100.
Fixes #50026.
Fixes #48315.
Fixes #48194.
Fixes #50535.

Release justification: non-production code change.
Release note: None

@pbardea pbardea requested review from a team, miretskiy and spaskob September 1, 2020 15:51
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@miretskiy miretskiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @spaskob)

@pbardea pbardea force-pushed the mixed-version-final branch from 866c7ba to 1295d87 Compare September 1, 2020 16:57
Copy link
Copy Markdown
Contributor

@spaskob spaskob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @pbardea)


pkg/cmd/roachtest/mixed_version_jobs.go, line 330 at r3 (raw file):

				t.Fatal(err)
			}
			warehouses := 10

curious why 200 is too much

Copy link
Copy Markdown
Contributor Author

@pbardea pbardea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was under the impression that there was a descriptor migration - but the issue actually seems to be a bug in restore with respect to descriptor rewriting. Going to get a change out soon to fix that separately. That will need to go in first since this test will just fail on that bug.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @spaskob)


pkg/cmd/roachtest/mixed_version_jobs.go, line 330 at r3 (raw file):

Previously, spaskob (Spas Bojanov) wrote…

curious why 200 is too much

I found that we just needed the job to last as long as the test did, and from my runs 10 seemed to be sufficient.

Also of note, now that we're using restore we need to use a fixture that we have already backed up. We don't have a 200 TPCC backup, but we do have a 100 TPCC one that we can use, but I didn't find the need for it from my runs.

Previously, this roachtest would use IMPORT, but IMPORTs do not support
being run in mixed-version clusters. This test now uses RESTORE as the
job under test.

Release justification: non-production code change.
Release note: None
@pbardea pbardea force-pushed the mixed-version-final branch from 1295d87 to 01e9e98 Compare September 8, 2020 13:44
@pbardea pbardea changed the title backupccl,roachtest: update jobs/mixed-version to use RESTORE roachtest: update jobs/mixed-version to use RESTORE Sep 8, 2020
@pbardea
Copy link
Copy Markdown
Contributor Author

pbardea commented Sep 8, 2020

Rebased on top of the mixed-version fix from last week. roachtest passes locally and on roachprod.

@pbardea
Copy link
Copy Markdown
Contributor Author

pbardea commented Sep 8, 2020

Merging since the only change was the rebase.
TFTRs!
bors r=spaskob

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 8, 2020

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 8, 2020

Build succeeded:

@craig craig bot merged commit f559e6a into cockroachdb:master Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants