-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Online DDL: allow users to see migration log (in case of migration failure) #8178
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Description
When an online DDL migration fails, specifically
gh-ost
orpt-online-schema-change
, there's amigration.log
file. Its location is indicated inlog_path
column inshow vitess_migrations
.However, there is no mechanism to view the contents of that log; if the user doesn't have ssh/exec access, then they're unable to view the log.
Suggestion: support a query like
SHOW VITESS_MIGRATION_LOG FOR '<uuid>'
or similar, that will print out the contents of the migration log, if exists, or error, if not exists.Note that the migration log is implicitly removed if the migration is successful. This feature is only of interest for failed migrations.
The text was updated successfully, but these errors were encountered: