2011-12-12 20:14:37 |
maxim.volkov |
bug |
|
|
added bug |
2011-12-12 20:16:50 |
maxim.volkov |
description |
App: pt-archiver
The combination of flags which do give problem:
pt-archiver \
--source h=localhost,D=database,t=table_I,b=1,i=index \
--dest h=localhost,D=database,t=table_II,b=1,i=index \
--columns column1,column2,column3,column4,column5 \
--where "changed_when < '2011-12-01 00:00:00'" --limit 1000 --commit-each \
--nocheck-columns --replace --commit-each --bulk-insert --bulk-delete \
--statistics \
--no-check-charset \
--file '/tmp/mysql/%Y-%m-%d-%D_%H:%i:%s.%t'
Version: 1.0.1-1
Issue: Having --file flag in pt-archiver results in the following error:
• Use of uninitialized value in lc at /usr/bin/pt-archiver line 3871.
3868 # Open the file and print the header to it.
3869 if ( $archive_file ) {
3870 my $need_hdr = $o->get('header') && !-f $archive_file;
3871 my $charset = lc $o->get('charset'); <------ ERROR LINE.
3872 if ( $charset ) {
3873 $archive_fh = IO::File->new($archive_file, ">>:$charset")
3874 or die "Cannot open $charset $archive_file: $OS_ERROR\n";
3875 }
Attempted to by pass problem:
--- added "--charset latin1" flag - hence, the above error line expects its value - got further error:
• Cannot open latin1 /tmp/mysql/2011-12-12-database_12:09:25.table: No such file or directory |
App: pt-archiver
The combination of flags which do rase the error despite --dry-run passes without a problem:
pt-archiver \
--source h=localhost,D=database,t=table_I,b=1,i=index \
--dest h=localhost,D=database,t=table_II,b=1,i=index \
--columns column1,column2,column3,column4,column5 \
--where "changed_when < '2011-12-01 00:00:00'" --limit 1000 --commit-each \
--nocheck-columns --replace --commit-each --bulk-insert --bulk-delete \
--statistics \
--no-check-charset \
--file '/tmp/mysql/%Y-%m-%d-%D_%H:%i:%s.%t'
Version: 1.0.1-1
Issue: Having --file flag in pt-archiver results in the following error:
• Use of uninitialized value in lc at /usr/bin/pt-archiver line 3871.
3868 # Open the file and print the header to it.
3869 if ( $archive_file ) {
3870 my $need_hdr = $o->get('header') && !-f $archive_file;
3871 my $charset = lc $o->get('charset'); <------ ERROR LINE.
3872 if ( $charset ) {
3873 $archive_fh = IO::File->new($archive_file, ">>:$charset")
3874 or die "Cannot open $charset $archive_file: $OS_ERROR\n";
3875 }
Attempted to by pass problem:
--- added "--charset latin1" flag - hence, the above error line expects its value - got further error:
• Cannot open latin1 /tmp/mysql/2011-12-12-database_12:09:25.table: No such file or directory |
|
2011-12-12 20:18:40 |
maxim.volkov |
summary |
pt-archiver refuse to create file |
pt-archiver does refuse to create a file with --file flag |
|
2011-12-16 15:57:48 |
Daniel Nichter |
tags |
|
crash pt-archiver |
|
2012-02-10 00:24:00 |
Rob Smith |
bug |
|
|
added subscriber Rob Smith |
2012-03-02 22:54:18 |
Brian Fraser |
branch linked |
|
lp:~percona-toolkit-dev/percona-toolkit/fix-bug-903379 |
|
2012-03-02 22:54:27 |
Brian Fraser |
percona-toolkit: status |
New |
Fix Committed |
|
2012-03-06 14:02:30 |
Brian Fraser |
percona-toolkit: assignee |
|
Brian Fraser (fraserbn) |
|
2012-05-23 17:33:21 |
Daniel Nichter |
nominated for series |
|
percona-toolkit/2.0 |
|
2012-05-23 17:33:21 |
Daniel Nichter |
bug task added |
|
percona-toolkit/2.0 |
|
2012-05-23 17:33:21 |
Daniel Nichter |
nominated for series |
|
percona-toolkit/2.1 |
|
2012-05-23 17:33:21 |
Daniel Nichter |
bug task added |
|
percona-toolkit/2.1 |
|
2012-05-23 17:33:35 |
Daniel Nichter |
percona-toolkit/2.1: status |
Fix Committed |
In Progress |
|
2012-05-23 17:33:38 |
Daniel Nichter |
percona-toolkit/2.0: status |
New |
Triaged |
|
2012-05-23 17:33:41 |
Daniel Nichter |
percona-toolkit/2.0: importance |
Undecided |
Medium |
|
2012-05-23 17:33:43 |
Daniel Nichter |
percona-toolkit/2.1: importance |
Undecided |
Medium |
|
2012-05-23 17:33:53 |
Daniel Nichter |
percona-toolkit/2.0: assignee |
|
Brian Fraser (fraserbn) |
|
2012-05-23 17:33:57 |
Daniel Nichter |
percona-toolkit/2.1: milestone |
|
2.1.2 |
|
2012-05-23 17:33:59 |
Daniel Nichter |
percona-toolkit/2.0: milestone |
|
2.0.5 |
|
2012-05-23 17:34:20 |
Daniel Nichter |
summary |
pt-archiver does refuse to create a file with --file flag |
pt-archiver doesn't create a file with --file |
|
2012-05-23 17:34:41 |
Daniel Nichter |
summary |
pt-archiver doesn't create a file with --file |
pt-archiver --file doesn't create a file |
|
2012-05-30 18:54:06 |
Brian Fraser |
percona-toolkit/2.1: status |
In Progress |
Fix Committed |
|
2012-05-30 20:47:30 |
Daniel Nichter |
percona-toolkit/2.0: status |
Triaged |
In Progress |
|
2012-05-30 22:05:44 |
Brian Fraser |
percona-toolkit/2.0: status |
In Progress |
Fix Committed |
|
2012-06-09 22:33:59 |
Daniel Nichter |
percona-toolkit/2.0: status |
Fix Committed |
Fix Released |
|
2012-06-19 20:02:44 |
Daniel Nichter |
percona-toolkit/2.1: status |
Fix Committed |
Fix Released |
|