diff --git a/pkg/clusterversion/cockroach_versions.go b/pkg/clusterversion/cockroach_versions.go index 23cf63acfb17..8d2035f468f8 100644 --- a/pkg/clusterversion/cockroach_versions.go +++ b/pkg/clusterversion/cockroach_versions.go @@ -628,9 +628,9 @@ var ( ) func init() { - const isReleaseBranch = false + const isReleaseBranch = true if isReleaseBranch { - if binaryVersion != ByKey(V21_2) { + if binaryVersion != ByKey(V22_1) { panic("unexpected cluster version greater than release's binary version") } }