Package: percona-toolkit
Version: 1.0.1-2
Severity: important
Tags: upstream

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


- --- ORIGINAL MAIL TO UPSTREAM ---

Hi,

I'm experiencing this issue when I try to sync tables using 'pt-table-sync'


# DELETE REPLACE INSERT UPDATE ALGORITHM START    END      EXIT DATABASE.TABLE
Failed to prepare TableSyncChunk plugin: Use of uninitialized value 
$args{"chunk_range"} in lc at
/usr/bin/pt-table-sync line 3055.  while doing MYDB on MYHOST


I've found [0] on Maatkit bugtracker and seems to be the same issue. By 
applying the patch
recommended there, the issue seems to desapear.

So, can you confirm this issue is present on 'pt-table-sync' or is due to a 
breakage on my system
(maybe after upgrading to Perl 5.14) 


Thanks in advance.


[0] http://code.google.com/p/maatkit/issues/detail?id=1296


- --- /ORIGINAL MAIL TO UPSTREAM ---


The issue was discussed on IRC, here are bits of the backlog:



16:41 < daniel4> midget: well, since that perl snippet prints open, it shows 
that perl still handles that line like we 
                 expect it to.  that makes me wonder why it doesn't work when 
the tool actually runs.  in any case, a 
                 fix/patch is lc($args{chunk_range} || 'open');  or 
lc($args{chunk_range}) || 'open';
16:42 < daniel4> midget:  yes if you could report a bug in Percona Toolkit 
please
16:42 < midget> daniel4: ok, I'll do it then. Thanks for your attention
16:43 < daniel4> np :-)
16:43 < daniel4> thanks for reminding me of this bug
16:44 < midget> I can confirm that
16:44 < midget> - my $chunk_range = lc $args{chunk_range} || 'open';
16:45 < midget> fixes the issue on my sys
16:45 < midget> + my $chunk_range = lc($args{chunk_range} || 'open');
16:46 < midget> If you give the OK, I can patch the Debian version an upload a 
functional version
16:51 < daniel4> midget: sure you can patch it.  i wish i understood why it 
work in perl -e "..." but not in the actual 
                 code.  some day we should try to test the toolkit on 5.14
16:51 < midget> ok, I'll report the bug and attach the patch then.
16:51 < daniel4> thanks
16:52 < midget> Thanks a lot again. (my tables are now synched) :)
16:52 < daniel4> excellent :-)



- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages percona-toolkit depends on:
ii  gdb                   7.3-1+b1  
ii  libdbd-mysql-perl     4.020-1+b1
ii  libdbi-perl           1.616-1+b2
ii  libterm-readkey-perl  2.30-4+b2 
ii  perl                  5.14.2-5  

percona-toolkit recommends no packages.

percona-toolkit suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJO1QHFAAoJEKgvu4Pz1XAz99wQAMfwuig/HXYrziGoa6qhJhJ/
OS9a0Q6wOjWnubvCTUmqxWp20Dbgygo+3uJPDnLxXNOoYZpW26xOjhQBZ0Bx3Hwg
3RzWLAOLLTMe/9J9G6+rvfHcaObxIxpb6wkg63FWKBHOfS8Q8k4qqtc2LpdE7xY0
g02T2QmQNabvwLa8FUUrDZxFGwhbwskSOiGqG6Iwu4Jr5qhGI3ElajIovsMODJyQ
5sufGzTG12JfDt9/KPPT5KoNxp/QAyLkWuxlOsySROa+RbHmf+0CdxQcyMBfMaa6
b14pbGiPWNV9T5w3jKfnpc0CH2W5UDYoEggSb9o0yHqtf3EukuIyjknUoibLsZDV
CveF9yGu1gJyCGk+fgsgEnel3+8Mc9VBr9UuAeoZ2OgDluA9R/ZUl+CZMEKyzYk1
lFarmyWcWSSMT3R4rCb1BkkIiGuK1NU2ojUNN4AGET8h3emToScvl3k3/yQa3HN4
+adC0fJag88X1o0wCii88HBJsrOrVAqMm4V/I4w8WngxcIhv56A5KG31gRbMvoyA
hKVpOYFz00mw067LyDAbFqV4Mwtc/6tBdBWARlEd27B3UWVWBi4hX+LXiRz494wj
bVniprXoGelVpcMrN+BsZHU3RjVNkmUkJZ4cWLCy6r5SbASAPrKKpWe7FE30n7+V
/CW8bOvFh03pKmToBj/H
=fLrE
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to