-
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
roachtest/version-upgrade: re-enable schema changer workload #100651
Conversation
f08b040
to
472d75f
Compare
@@ -326,6 +326,31 @@ var opDeclarative = []bool{ | |||
validate: false, | |||
} | |||
|
|||
var opDeclarativeVersion = []clusterversion.Key{ | |||
addColumn: clusterversion.V22_2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we'd need to maintain this version list statement by statement, but I think that's probably fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was debating if we should use the check if supported function from the builder, but the problem is mixed version states here. The binary is built against a new version for the test, I'll add a comment with a rationale.
// This workload will maintain its own list of supported versions for declarative
// schema changer, since the cluster we are running against can be downlevel.
// The declarative schema changer builder does have a supported list but it's not
// sufficient for that reason.
Previously, the schema changer workload was disabled inside the version upgrade test because of intermittent job errors. This patch re-enables this workload again for the version upgrade test. It also updates the test to handle mixed version declarative schema changer support. Fixes: cockroachdb#100709 Release note: None
472d75f
to
3b998ad
Compare
bors r+ |
Build succeeded: |
Previously, the schema changer workload was disabled inside the version upgrade test because of intermittent job errors. This patch re-enables this workload again for the version upgrade test. It also updates the test to handle mixed version declarative schema changer support.
Fixes: #100409
Release note: None