Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roachtest: don't run schema change workload on 19.2 releases #49662

Merged
merged 1 commit into from May 29, 2020

Conversation

spaskob
Copy link
Contributor

@spaskob spaskob commented May 28, 2020

Fixes #47024.

Release note (bug fix):
The schema change workload is meant for testing the behavior of schema
changes on clusters with nodes with min version 19.2. It will deadlock
on earlier versions.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@spaskob spaskob changed the title roachtest/version-upgrade: don't run schema change workload on 19.x r… roachtest: don't run schema change workload on 19.x releases May 28, 2020
@spaskob spaskob requested a review from ajwerner May 28, 2020 19:22
Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

Just commentary nits. I think the release note should say 19.2 instead of 19.0

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


pkg/cmd/roachtest/mixed_version_schemachange.go, line 76 at r1 (raw file):

	schemaChangeStep := runSchemaChangeWorkloadStep(maxOps)
	if buildVersion.Major() < 20 {
		// Schema change workload is meant to run only on versions 19.x or higher.

19.2?


pkg/cmd/roachtest/mixed_version_schemachange.go, line 78 at r1 (raw file):

		// Schema change workload is meant to run only on versions 19.x or higher.
		// If the main version is below 20.0 then then predecessor version is
		// below 19.0.

is below 19.2?

…eleases

Fixes cockroachdb#47024.

Release note (bug fix):
The schema change workload is meant for testing the behavior of schema
changes on clusters with nodes with min version 19.2. It will deadlock
on earlier versions.
@spaskob spaskob changed the title roachtest: don't run schema change workload on 19.x releases roachtest: don't run schema change workload on 19.2 releases May 28, 2020
@spaskob
Copy link
Contributor Author

spaskob commented May 28, 2020

Thanks of course - I completely blanked there.

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

@spaskob
Copy link
Contributor Author

spaskob commented May 28, 2020

bors r+

@craig
Copy link
Contributor

craig bot commented May 29, 2020

Build succeeded

@craig craig bot merged commit 9e1666b into cockroachdb:master May 29, 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
Development

Successfully merging this pull request may close these issues.

roachtest: acceptance/version-upgrade failed
3 participants