Your message dated Tue, 29 Nov 2011 17:03:41 +0000
with message-id <[email protected]>
and subject line Bug#650409: fixed in percona-toolkit 1.0.1-3
has caused the Debian Bug report #650409,
regarding percona-toolkit: Failed to prepare TableSyncChunk plugin: Use of
uninitialized value $args{"chunk_range"} in lc at /usr/bin/pt-table-sync line
3055.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
650409: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650409
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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-----
--- End Message ---
--- Begin Message ---
Source: percona-toolkit
Source-Version: 1.0.1-3
We believe that the bug you reported is fixed in the latest version of
percona-toolkit, which is due to be installed in the Debian FTP archive:
percona-toolkit_1.0.1-3.debian.tar.gz
to main/p/percona-toolkit/percona-toolkit_1.0.1-3.debian.tar.gz
percona-toolkit_1.0.1-3.dsc
to main/p/percona-toolkit/percona-toolkit_1.0.1-3.dsc
percona-toolkit_1.0.1-3_all.deb
to main/p/percona-toolkit/percona-toolkit_1.0.1-3_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dario Minnucci <[email protected]> (supplier of updated percona-toolkit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 29 Nov 2011 17:24:12 +0100
Source: percona-toolkit
Binary: percona-toolkit
Architecture: source all
Version: 1.0.1-3
Distribution: unstable
Urgency: low
Maintainer: Dario Minnucci <[email protected]>
Changed-By: Dario Minnucci <[email protected]>
Description:
percona-toolkit - Command-line tools for MySQL and system tasks
Closes: 650409
Changes:
percona-toolkit (1.0.1-3) unstable; urgency=low
.
* 000-pt-table-sync-use-of-uninitialized-value-3055.diff:
Fix for "Use of uninitialized value $args{"chunk_range"} ..."
(Closes: #650409)
Checksums-Sha1:
b0200d693cf21f33a2634e1e777242f1b2a8ce71 1959 percona-toolkit_1.0.1-3.dsc
0fb37b190bb380b23d0717f395d523cffbdd7be3 5367
percona-toolkit_1.0.1-3.debian.tar.gz
2f7a6e6ea9e0f755d0c63a9b982cb27983eecc9a 1311162
percona-toolkit_1.0.1-3_all.deb
Checksums-Sha256:
db60b37617681ed0db95d3014e331b24cefbc234fb040ab7db5a12a9bd664a74 1959
percona-toolkit_1.0.1-3.dsc
ca5ffe1330d872136aadbc02be7aca3599d31bc49f41bb34b0709f138049e594 5367
percona-toolkit_1.0.1-3.debian.tar.gz
eceb824c8e96381407b0a6f71c242b619caf6cff718a96e933d09e9eb458f7d8 1311162
percona-toolkit_1.0.1-3_all.deb
Files:
c5fabd6b0e579e8439e4b7d98b56709a 1959 utils optional
percona-toolkit_1.0.1-3.dsc
4af732582c34014c2f2efb1c4d7b5e9c 5367 utils optional
percona-toolkit_1.0.1-3.debian.tar.gz
cffd79fe978ba98024035c2229a2b6d6 1311162 utils optional
percona-toolkit_1.0.1-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJO1Qw8AAoJEKgvu4Pz1XAzgcYP/0voDJV8Xe7+gQCK6zevNWwX
kxPbSbeuJB0koR9aMM1CgAVrIf8gLeotnlkF8Pd0O8BJMyBjgrq+j1lVfosnYgsE
11m3KdVuRJ+XbEBcY+jjXlIm1g8V4o3Qfer9vGuAfaedFUwnNAL4i/QO+5srjp7d
E2NnlhbVHVc8NYILLUavlrshF5uI23OoHA7ZCwxltefkvLgri9rZ1S/FVeWqOaVm
e0uQDlvjAaa40xKJIfrAL7Abakm5UwK4TiU0T4OHlR9ByKOfbXNUOnzm4+LNz47E
0/CBKFGLOyhFXACKJDO71nXPwwI93fGafvpbO0WH9zZm2NSjdfmQi0XLILyk7IXc
I7DZ761YRO82AsM3H5L/VnsEK38Ysos9WxPG7JPiNAShnHPK8HywrqeLkgdIwCIq
0T9bKyyWMLY5IpYc9oGshQmiSUUPm/Qlp+gtKuPpT5/CPtuvhTpYemH6HDv5H23T
ZMigrL+LyxpI3ZHv3DieDax2nf2GkP8Kl2uwOuelO1L67eVY0u9POBibDhnfk2QI
DGrIf1a9wEZHa7b+38jn+wxjKQROptPhof4fknO1h1IJLv+2nA2OttuTf1e0IBRW
2MJtc7C41sZ8k0h+tvpgY+sMCKdej5rlnKrBuuGvRYkAQtGIh9m/SYwpZROTjsjo
lYIAMQ86uSOcIJxg3hh1
=xzhG
-----END PGP SIGNATURE-----
--- End Message ---