pt-online-schema-change lacks feature of adding the "DATA DIRECTORY" to a new table
Bug #1638293 reported by
Daniel Guzmán Burgos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Carlos Salguero |
Bug Description
pt-osc only accepts changes that can be done with an ALTER TABLE. To move a table to a different directory, one must need to execute the full CREATE TABLE ... DATA DIRECTORY = /new/path
In order to do so, a new parameter can be added: --new-partition = /new/path
Code change can be something like:
if ( $o->get(
my $ady = " DATA DIRECTORY = '". $o->get(
$sql = $sql.${ady};
}
Changed in percona-toolkit: | |
milestone: | none → 2.2.20 |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for your patch. /github. com/percona/ percona- toolkit/ pull/143
I've merged your code: https:/