Skip to content
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

Check for pt-osc presence before running #54

Closed
sauloperez opened this issue Apr 4, 2017 · 1 comment
Closed

Check for pt-osc presence before running #54

sauloperez opened this issue Apr 4, 2017 · 1 comment

Comments

@sauloperez
Copy link
Contributor

sauloperez commented Apr 4, 2017

There's an edge case concerning create table and adding and index.

When you run a create table migration that includes an index creation from a machine that doesn't have percona-toolkit installed, the table will be created but the index will not, as the former doesn't go through pt-online-schema-change.

We should check it and raise a PerconaMigrator::CommandNotFoundError accordingly, before running a CREATE TABLE.

This also applies to any other DDL statements that don't go through pt-online-schema-change.

@sauloperez
Copy link
Contributor Author

Moved to departurerb#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant