-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: update upgrade unit tests to bootstrap from 23.1 (or 22.2) #103956
Copy link
Copy link
Closed
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.GA-blockerT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-release-23.2Used to mark GA and release blockers, technical advisories, and bugs for 23.2Used to mark GA and release blockers, technical advisories, and bugs for 23.2
Metadata
Metadata
Assignees
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.GA-blockerT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-release-23.2Used to mark GA and release blockers, technical advisories, and bugs for 23.2Used to mark GA and release blockers, technical advisories, and bugs for 23.2
Currently, all of our upgrade unit tests (mostly logic tests outside of the
cockroach-goconfig) bootstrap the cluster atV22_2. Since therelease-23.1branch has been cut, master should now be considered 23.2 work (#103551). As such, we should be writing our upgrade tests to bootstrap the cluster fromV23_1.This is made more complex in this release, as we intend to keep
BinaryMinSupportedVersionKeyatV22_2inrelease-23.2[1]. This means that, ideally, we should start testing our upgrades both fromV22_2and fromV23_1.This work will involve creating initial_values for the 23.1 release: see [2].
Assigning @cockroachdb/sql-foundations, as a lot of our upgrade tests are logic tests. Migration and tenant upgrade tests are also among tests that should be updated. Corrresponding teams are free to create separate issues to handle those changes.
[1] https://cockroachlabs.atlassian.net/wiki/spaces/RE/pages/2762309867/Version+Skipping+to+Enable+Long-Term+Support+LTS
[2]
cockroach/pkg/sql/catalog/bootstrap/initial_values.go
Lines 76 to 83 in bc6b056
Jira issue: CRDB-28269