Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

migrator: Add upgrade command#39265

Merged
efritz merged 4 commits into
mainfrom
ef/upgrade-wip
Jul 29, 2022
Merged

migrator: Add upgrade command#39265
efritz merged 4 commits into
mainfrom
ef/upgrade-wip

Conversation

@efritz

@efritz efritz commented Jul 21, 2022

Copy link
Copy Markdown
Contributor

This PR adds an sg migration upgrade and migrator upgrade command that runs the multi-version upgrade process as described in RFC 697: Multiple version upgrades.

Fixes #38048 (with reduced scope). Complete fix blocked by #38094 but tracked in #39578. This PR was supported by #39457, #39458, #39459, #39473, #39474, #39540, #39541, #39542, #39543, #39545, #39546, and #39553.

Test plan

Tested by hand locally. Added additional unit tests.

@efritz efritz self-assigned this Jul 21, 2022
@cla-bot cla-bot Bot added the cla-signed label Jul 21, 2022
@efritz efritz changed the base branch from ef/stitch-migrations to main July 26, 2022 16:44
@efritz efritz changed the title Ef/upgrade wip migrator: Add upgrade command Jul 26, 2022
@efritz efritz force-pushed the ef/upgrade-wip branch 2 times, most recently from e51f5b0 to f97edb8 Compare July 26, 2022 20:59
@efritz efritz changed the base branch from main to ef/version-parser July 26, 2022 21:00
@efritz efritz changed the base branch from ef/version-parser to main July 26, 2022 21:01
@efritz efritz force-pushed the ef/upgrade-wip branch 9 times, most recently from c22f317 to 247b6af Compare July 28, 2022 00:56
@efritz efritz requested review from emidoots, eseliger and mrnugget July 28, 2022 13:27
@sourcegraph-bot

sourcegraph-bot commented Jul 28, 2022

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in OWNERS files for diff a0d399f...0ba2c38.

Notify File(s)
@mrnugget dev/sg/sg_migration.go
@sourcegraph/dev-experience dev/sg/sg_migration.go

@efritz efritz enabled auto-merge (squash) July 28, 2022 23:09
@efritz efritz merged commit 24bb560 into main Jul 29, 2022
@efritz efritz deleted the ef/upgrade-wip branch July 29, 2022 07:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC 697: Run schema+data migrations over multiple versions in the migrator

3 participants