Skip to content

Return finalCleanup errors instead of swallowing them#10

Open
dnovitski wants to merge 1 commit into
masterfrom
fix/return-finalcleanup-errors
Open

Return finalCleanup errors instead of swallowing them#10
dnovitski wants to merge 1 commit into
masterfrom
fix/return-finalcleanup-errors

Conversation

@dnovitski

Copy link
Copy Markdown
Owner

finalCleanup() returns errors from DropChangelogTable/DropOldTable/DropCheckpointTable, but Migrate() and Revert() discard the return value. This means leftover tables remain while gh-ost reports success.

Stop swallowing finalCleanup() failures in Migrate and Revert.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant