pt-online-schema-change aborts on --execute while --dry-run succeeds ("Use of uninitialized value in printf", line 8489)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
High
|
Carlos Salguero |
Bug Description
percona-toolkit 3.0.3-1.wheezy
MariaDB 5.5.56 on this machine, one slave is also MariaDB 5.5.56 (in a master-master), the other is MariaDB 10.1.23. I've also tried this from the other master, where both slaves are MariaDB 5.5.56.
Running pt-online-
-------------------
pt-online-
-------------------
Results in:
-------------------
Found 2 slaves:
soft7 -> other-master:3307
Use of uninitialized value in printf at /usr/bin/
-------------------
and exit code 255.
Running the same thing (which has worked many many times in the past, by the way) with dry-run works just fine.
-------------------
pt-online-
Operation, tries, wait:
analyze_table, 10, 1
copy_rows, 10, 0.25
create_triggers, 10, 1
drop_triggers, 10, 1
swap_tables, 10, 1
update_
Starting a dry run. `atoz`.
Creating new table...
Created new table atoz._c_
Altering new table...
Altered `atoz`.
Not creating triggers because this is a dry run.
Not copying rows because this is a dry run.
Not swapping tables because this is a dry run.
Not dropping old table because this is a dry run.
Not dropping triggers because this is a dry run.
2017-05-25T15:41:00 Dropping new table...
2017-05-25T15:41:00 Dropped new table OK.
Dry run complete. `atoz`.
-------------------
I'd like to try version 3.0.2, because I suspect this broke in the recent update, but it seems that the repository only has the latest version of the 3.x branch.
tags: | added: pt148 |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
Hi,
Could you clarify how is your config please?
MariaDB 5.5.56 on this machine, one slave is also MariaDB 5.5.56 (in a master-master), the other is MariaDB 10.1.23 ...
which ones are the masters?
I've tried to reproduce it but it is not giving me an error.