-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
clusterversion: bump binaryMinSupportedVersion to 23.1 #111760
Comments
This PR bumps `BinaryMinSupportedVersion` to 23.1 before cutting the 23.2 release branch, as part of the stability period process. Issue: cockroachdb#111760 Epic: REL-433 Release note: None
I think we should rename things like |
This is actually the opposite of a change we elected to make a couple versions ago. Having the old version name explicitly in the test makes it easier to know that you can delete that config when we are no longer testing behaviors specific to that version, without needing to know what exactly those behaviors are. Having it implicitly move up to test a new different version is much harder, in practice, since the person making that change is typically a release engineer, who is then facing a test that starts failing since the behaviors it thought it was testing - 22.2 behaviors -- changed since it is now testing against a different version. The feature-area engineers should be the ones writing tests that encode the expected behaviors of their feature area in a specific -- and explicitly named! -- version and then the release engineering folks just need to know that if they're changing what versions we want to test, certain we'll-labeled feature tests are or are not applicable. |
Oh, that makes sense - I was reacting to the (draft?) changes in #111768. Looked like that PR renamed I think we're missing a comment with some guidance above where Also, it feels like the name is not exactly correct, it should be |
One question though.. why is there no My hunch is that we're using |
Here is my (updated) plan of action:
The changes above are backported to Then, only on release-23.2:
Then, only on
|
This commit changes the minimum supported version to 23.1. It is intended to be backported to release-23.2. Tests that had to be modified mostly fall in one of two categories: - tests that verify a release-specific behavior involving 22.2 or in-development versions of 23.1; these tests were deleted. - tests that verify general version handling logic but used specific versions; I tried to make these use the min supported version or a new `VCurrent_Start` constant. The logic tests required a bunch of work because we were missing a `local-mixed-23.1` config, which should have been added early in the 23.2 cycle. Without this config, all test directives related to 23.2 features were conditioned on `local-mixed-22-23.1` (i.e. these features were lumped in with 23.1 features). I added the new config and let the test failures guide me; most of the cases that needed to be conditioned on `local-mixed-23.1` where around the bigger 23.2 features (isolation levels, procedures). In subsequent release cycles, we will create the new config as soon as possible. This commit does not remove the obsolete in-development 23.1 version keys and related code; that will be done separately. Informs: cockroachdb#111760 Epic: REL-506 Release note: None
This commit changes the minimum supported version to 23.1. It is intended to be backported to release-23.2. Tests that had to be modified mostly fall in one of two categories: - tests that verify a release-specific behavior involving 22.2 or in-development versions of 23.1; these tests were deleted. - tests that verify general version handling logic but used specific versions; I tried to make these use the min supported version or a new `VCurrent_Start` constant. The logic tests required a bunch of work because we were missing a `local-mixed-23.1` config, which should have been added early in the 23.2 cycle. Without this config, all test directives related to 23.2 features were conditioned on `local-mixed-22-23.1` (i.e. these features were lumped in with 23.1 features). I added the new config and let the test failures guide me; most of the cases that needed to be conditioned on `local-mixed-23.1` where around the bigger 23.2 features (isolation levels, procedures). In subsequent release cycles, we will create the new config as soon as possible. This commit does not remove the obsolete in-development 23.1 version keys and related code; that will be done separately. Informs: cockroachdb#111760 Epic: REL-506 Release note: None
This commit changes the minimum supported version to 23.1. It is intended to be backported to release-23.2. Tests that had to be modified mostly fall in one of two categories: - tests that verify a release-specific behavior involving 22.2 or in-development versions of 23.1; these tests were deleted. - tests that verify general version handling logic but used specific versions; I tried to make these use the min supported version or a new `VCurrent_Start` constant. The logic tests required a bunch of work because we were missing a `local-mixed-23.1` config, which should have been added early in the 23.2 cycle. Without this config, all test directives related to 23.2 features were conditioned on `local-mixed-22-23.1` (i.e. these features were lumped in with 23.1 features). I added the new config and let the test failures guide me; most of the cases that needed to be conditioned on `local-mixed-23.1` where around the bigger 23.2 features (isolation levels, procedures). In subsequent release cycles, we will create the new config as soon as possible. This commit does not remove the obsolete in-development 23.1 version keys and related code; that will be done separately. Informs: cockroachdb#111760 Epic: REL-506 Release note: None
112122: clusterversion: bump min supported version to 23.1 r=RaduBerinde a=RaduBerinde This commit changes the minimum supported version to 23.1. It is intended to be backported to release-23.2. Tests that had to be modified mostly fall in one of two categories: - tests that verify a release-specific behavior involving 22.2 or in-development versions of 23.1; these tests were deleted. - tests that verify general version handling logic but used specific versions; I tried to make these use the min supported version or a new `VCurrent_Start` constant. The logic tests required a bunch of work because we were missing a `local-mixed-23.1` config, which should have been added early in the 23.2 cycle. Without this config, all test directives related to 23.2 features were conditioned on `local-mixed-22.2-23.1` (i.e. lumped in with 23.1 features). I added the new config and let the test failures guide me; most of the cases that needed to be conditioned on `local-mixed-23.1` where around the bigger 23.2 features (isolation levels, procedures). In subsequent release cycles, we will create the new config as soon as possible. This commit does not remove the obsolete in-development 23.1 version keys and related code; that will be done separately. Informs: #111760 Epic: REL-506 Release note: None Co-authored-by: Radu Berinde <[email protected]>
This commit changes the minimum supported version to 23.1. It is intended to be backported to release-23.2. Tests that had to be modified mostly fall in one of two categories: - tests that verify a release-specific behavior involving 22.2 or in-development versions of 23.1; these tests were deleted. - tests that verify general version handling logic but used specific versions; I tried to make these use the min supported version or a new `VCurrent_Start` constant. The logic tests required a bunch of work because we were missing a `local-mixed-23.1` config, which should have been added early in the 23.2 cycle. Without this config, all test directives related to 23.2 features were conditioned on `local-mixed-22-23.1` (i.e. these features were lumped in with 23.1 features). I added the new config and let the test failures guide me; most of the cases that needed to be conditioned on `local-mixed-23.1` where around the bigger 23.2 features (isolation levels, procedures). In subsequent release cycles, we will create the new config as soon as possible. This commit does not remove the obsolete in-development 23.1 version keys and related code; that will be done separately. Informs: cockroachdb#111760 Epic: REL-506 Release note: None
Of the 4 TODOs listed, only item 1 is the release-blocker (items 2-4 don't block the release and can be done anytime). Removing the release-blocker label, since item 1 is now complete and backported. |
2 is done too, I had to skip a couple and I filed issues. Working on 3 and 4 right now. |
This commit renames all pre-23.1 version keys (except those associated permanent upgrades) to start with `TODO_Delete_`. These keys will be removed by relevant teams. Informs: cockroachdb#111760 Release note: None
This commit renames all pre-23.1 version keys (except those associated permanent upgrades) to start with `TODO_Delete_`. These keys will be removed by relevant teams. Informs: cockroachdb#111760 Release note: None
112449: clusterversion: rename pre-23.1 version gates r=RaduBerinde a=RaduBerinde This commit renames all pre-23.1 version keys (except those associated permanent upgrades) to start with `TODO_Delete_`. These keys will be removed by relevant teams. Informs: #111760 Release note: None Co-authored-by: Radu Berinde <[email protected]>
We need to bump binaryMinSupportedVersion to 23.1 before we release the first 23.2 beta (branch cut is currently scheduled for Oct 10).
TODO:
TODODelete_
prefix or something, so when teams see if in the code they know they can clean up related code.Also tracked in https://cockroachlabs.atlassian.net/browse/REL-506
Jira issue: CRDB-32062
The text was updated successfully, but these errors were encountered: