Skip to content

Conversation

@grodowski
Copy link
Member

@grodowski grodowski commented Nov 7, 2025

Follow up to github#1604, I noticed there's a bunch of currently unused fns. Please close this if these functions are used for ongoing development 🙇

Upstream version: github#1605

meiji163 and others added 3 commits November 24, 2025 07:04
This PR introduces revertible migrations, following the approach suggested by @jonahberquist. In case a migration causes production impact after the cut-over, it can be reverted quickly while preserving the writes that happened after the cut-over.

When gh-ost is invoked with the --checkpoint flag and the migration completes, the migration can be reverted by invoking gh-ost again with the --revert flag and the --old-table flag specifying the name of the "old" table from the first migration e.g. _mytable_del. Also see docs/revert.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants