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: fix multitenant-upgrade stable to dev opt-in #87826

Closed
wants to merge 1 commit into from

Conversation

dt
Copy link
Member

@dt dt commented Sep 12, 2022

Fixes #87689.

Release note: none.

@dt dt requested review from ajwerner and ajstorm September 12, 2022 14:25
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@ajstorm ajstorm left a comment

Choose a reason for hiding this comment

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

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


pkg/cmd/roachtest/tests/multitenant_upgrade.go line 75 at r1 (raw file):

	settings := install.MakeClusterSettings(install.BinaryOption(predecessorBinary), install.SecureOption(true))
	settings.Env = append(settings.Env, "COCKROACH_UPGRADE_TO_DEV_VERSION=true")

Nit: Should this be conditional based on the binary type? Once we drop the dev designation in a release, wouldn't we not need this?

@dt
Copy link
Member Author

dt commented Sep 12, 2022

wouldn't we not need this?

We will always need this on master; it is always dev. We don't need it on a release branch, but it also doesn't hurt anything to be there -- the test is just saying "look, I know that I might be doing a one-way upgrade here (but I might not) and I'm okay with that; this isn't critical production cluster that shouldn't be tainted". Doesn't seem worth adding more complexity to duplicate the upgrade checks just to decide when we're in the case where we'll hit them or not does it?

@ajstorm
Copy link
Collaborator

ajstorm commented Sep 12, 2022 via email

@dt
Copy link
Member Author

dt commented Sep 14, 2022

My feeling is that we should make the test stop failing so we get the signal we want from it -- that when you know you're doing release to dev upgrades, it works. We don't need to backport to the any current release branch since the current release branches don't think they are a dev versions anyway. That means we have several months to decide if we want to runbook this so that the PR that removes the "is dev" bit on the release branch next time (23.1) also removes the env var.

Copy link
Collaborator

@ajstorm ajstorm left a comment

Choose a reason for hiding this comment

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

That all SGTM. Do we want a follow-up issue for this? Or were you thinking that we'd rely on the test failure on 23.1 branch cut to "remind" us?

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

@dt
Copy link
Member Author

dt commented Sep 16, 2022

Closing in favor of @srosenberg's change in #88005

@dt dt closed this Sep 16, 2022
@dt dt deleted the mt-upgrade-test branch September 19, 2022 19:14
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: multitenant-upgrade failed
3 participants