Done
Details
Assignee
UnassignedUnassignedReporter
Carlos SalgueroCarlos Salguero(Deactivated)Priority
HighAffects versions
Fix versions
Needs QA
YesNeeds Packaging
YesStory Points
3Sprint
None
Details
Details
Assignee
Unassigned
UnassignedReporter
Carlos Salguero
Carlos Salguero(Deactivated)Priority
Affects versions
Fix versions
Needs QA
Yes
Needs Packaging
Yes
Story Points
3
Sprint
None
Smart Checklist
Smart Checklist
Smart Checklist
Created June 26, 2017 at 5:27 PM
Updated March 4, 2024 at 5:31 PM
Resolved October 13, 2020 at 3:31 PM
Launchpad: https://bugs.launchpad.net/percona-toolkit/+bug/1697915
Hello.
Today I altered one of my tables (users) with pt-online-schema-change
One table(user_comments) of my database had a foreign key (refer) to users table.
I changed id column from int to bigint
But at the end when it wanted to rename new table to original table, this message was displayed:
I know what is this, and I know firstly I must alter user_comments table or remove Foreign key before alter users table, but I think pt-online-schema-change has bug because it should be kept up new table.
It was full command:
Before running osc:
After getting the error:
MariaDB Version: mariadb-galera-10.0.30
pt-online-schema-change Version: 3.0.3
See attached program to load sample data