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

migration: Return leaves when stitching definitions#39459

Merged
efritz merged 2 commits into
mainfrom
ef/add-leaves-to-stitch
Jul 26, 2022
Merged

migration: Return leaves when stitching definitions#39459
efritz merged 2 commits into
mainfrom
ef/add-leaves-to-stitch

Conversation

@efritz

@efritz efritz commented Jul 26, 2022

Copy link
Copy Markdown
Contributor

This PR returns additional data when stitching together migration definitions over multiple releases. We also need to know in the migration graph where we can "pause" to ensure that out of band migrations have run prior to upgrading the schema into a future state that is no longer compatible.

Test plan

Existing and new unit tests.

@efritz efritz force-pushed the ef/add-leaves-to-stitch branch from 334c872 to 5529263 Compare July 26, 2022 19:36
@efritz efritz requested review from chrismwendt and mrnugget July 26, 2022 19:38
@efritz efritz marked this pull request as ready for review July 26, 2022 19:38
Comment thread internal/database/migration/stitch/stitch.go Outdated
Co-authored-by: Chris Wendt <chrismwendt@gmail.com>
@efritz efritz enabled auto-merge (squash) July 26, 2022 22:31
@efritz efritz merged commit bcd0b0f into main Jul 26, 2022
@efritz efritz deleted the ef/add-leaves-to-stitch branch July 26, 2022 22:40
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.

2 participants