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/multitenant-upgrade: hard-code predecessor version temporarily #108355

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

healthy-pod
Copy link
Contributor

@healthy-pod healthy-pod commented Aug 8, 2023

Hard-code the pre-decessor release to 23.1.4 until a new patch release is out (23.1.9) because the test is in-compatible with 23.1.{5,6,7,8} due to an erroneous PR merged on the 23.1 branch.

Release note: None
Epic: CRDB-18499
Fixes #107851.

@healthy-pod healthy-pod requested a review from a team as a code owner August 8, 2023 13:46
@healthy-pod healthy-pod requested review from srosenberg and smg260 and removed request for a team August 8, 2023 13:46
@cockroach-teamcity
Copy link
Member

This change is Reviewable

// require.NoError(t, err)
// Hard-code the pre-decessor release to 23.1.4 until a new patch release is out (23.1.9) because
// the test is in-compatible with 23.1.{5,6,7,8} due to an erroneous PR merged on the 23.1 branch.
predecessor := "23.1.4"
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks. Could you make this override temporary by actually encoding a condition on the output of release.LatestPredecessor? Something like:

if major == 23 and minor == 1 and patch < 7 {
       predecessor = "23.1.4"
}

so that the condition automatically ceases to apply once .7 is released.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@healthy-pod healthy-pod requested a review from a team as a code owner August 8, 2023 14:08
@healthy-pod healthy-pod force-pushed the mt-23.1.3 branch 3 times, most recently from 27f74ec to e96d6b4 Compare August 8, 2023 14:11
Copy link
Contributor

@knz knz 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

@knz
Copy link
Contributor

knz commented Aug 8, 2023

You could also include a mention to the specific patch that was problematic and the PR that was merged to fix it.

Hard-code the pre-decessor release to 23.1.4 until a new
patch release is out (23.1.9) because the test is in-compatible
with 23.1.{5,6,7,8} due to an erroneous PR merged on the 23.1 branch.

Release note: None
Epic: none
@healthy-pod
Copy link
Contributor Author

TFTR!
bors r=knz

@craig
Copy link
Contributor

craig bot commented Aug 8, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Aug 8, 2023

Build succeeded:

@craig craig bot merged commit 0d110cd into cockroachdb:master Aug 8, 2023
@knz knz added the db-cy-23 label Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

roachtest: multitenant-upgrade failed
3 participants