Skip to content

Commit

Permalink
Merge pull request #127608 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.2.9-rc-127375
  • Loading branch information
renatolabs authored Jul 22, 2024
2 parents c0e26e3 + 7fb249a commit 579c0a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/cmd/roachtest/roachtestutil/mixedversion/mixedversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,10 @@ func (t *Test) choosePreviousReleases() ([]*clusterupgrade.Version, error) {
}

// If skip-version upgrades are not enabled, the only possible
// predecessor is the immediate predecessor release.
if !skipVersions {
// predecessor is the immediate predecessor release. If the
// predecessor doesn't support skip versions, then its predecessor
// won't either. Don't attempt to find it.
if !skipVersions || !pred.AtLeast(minSupportedSkipVersionUpgrade) {
return []*clusterupgrade.Version{pred}, nil
}

Expand Down

0 comments on commit 579c0a0

Please sign in to comment.