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
pt-osc: Fails with duplicate key in table for self-referencing FK #137
Conversation
Could you add a test case? |
Stupid question... Can you please point me to some doc on how to setup the test environment so I can run the new test I'm creating? |
Oh, yes, sorry. Tomorrow I am going to add a document to the repo explaining how to set up the environment. |
Cool, looking forward to setting up the test env. Also from the docs
What if the tool looks up the real constraint name from the new table? This would be ideal as it will be transparent to the users. |
Hi. |
* 2.2: Small cosmetic fix to the docs Small cosmetic fix to the docs Small cosmetic fix to the docs Updated docs. How to set up the dev env
Adjusted renamt_fk_constraints.t for new renaming logic
OK, added the tests and made adjustment to existing rename_fk test. |
I ran the tests and everything looks good. |
I actually made one more change to compatibility with older Perl versions. This is my own creation and it can be distributed under BSD license. |
Thanks @amiel-marqeta |
pt-online-schema-change fails with duplicate key in table for self-referencing FK
https://bugs.launchpad.net/percona-toolkit/+bug/1632522