diff --git a/Changelog b/Changelog index ed982317..360294a7 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,7 @@ Changelog for Percona Toolkit +v2.1.3 released 2012-08-03 + * pt-kill: Implemented --log-dsn to log info about killed queries to a table * Fixed bug 1016127: Install hint for DBD::mysql is wrong * Fixed bug 984915: DSNParser does not check success of --set-vars diff --git a/Makefile.PL b/Makefile.PL index 8724aef9..2dab0d43 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,7 +2,7 @@ use ExtUtils::MakeMaker; WriteMakefile( NAME => 'percona-toolkit', - VERSION => '2.1.2', + VERSION => '2.1.3', EXE_FILES => [ ], MAN1PODS => { 'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p', diff --git a/bin/pt-align b/bin/pt-align index fbf32844..cc48126e 100755 --- a/bin/pt-align +++ b/bin/pt-align @@ -218,6 +218,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-align 2.1.2 +pt-align 2.1.3 =cut diff --git a/bin/pt-archiver b/bin/pt-archiver index 4950e4f0..70355b73 100755 --- a/bin/pt-archiver +++ b/bin/pt-archiver @@ -6135,6 +6135,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-archiver 2.1.2 +pt-archiver 2.1.3 =cut diff --git a/bin/pt-config-diff b/bin/pt-config-diff index bd524d86..51a0e13b 100755 --- a/bin/pt-config-diff +++ b/bin/pt-config-diff @@ -3435,6 +3435,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-config-diff 2.1.2 +pt-config-diff 2.1.3 =cut diff --git a/bin/pt-deadlock-logger b/bin/pt-deadlock-logger index 32942ec1..3e385cd4 100755 --- a/bin/pt-deadlock-logger +++ b/bin/pt-deadlock-logger @@ -3365,6 +3365,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-deadlock-logger 2.1.2 +pt-deadlock-logger 2.1.3 =cut diff --git a/bin/pt-diskstats b/bin/pt-diskstats index a6f4eb5a..f02dedfa 100755 --- a/bin/pt-diskstats +++ b/bin/pt-diskstats @@ -4197,6 +4197,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-diskstats 2.1.2 +pt-diskstats 2.1.3 =cut diff --git a/bin/pt-duplicate-key-checker b/bin/pt-duplicate-key-checker index c43424e2..3e0b9130 100755 --- a/bin/pt-duplicate-key-checker +++ b/bin/pt-duplicate-key-checker @@ -4030,6 +4030,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-duplicate-key-checker 2.1.2 +pt-duplicate-key-checker 2.1.3 =cut diff --git a/bin/pt-fifo-split b/bin/pt-fifo-split index b7191b18..533e1ee6 100755 --- a/bin/pt-fifo-split +++ b/bin/pt-fifo-split @@ -1547,6 +1547,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-fifo-split 2.1.2 +pt-fifo-split 2.1.3 =cut diff --git a/bin/pt-find b/bin/pt-find index 81b3b748..6e35cbfe 100755 --- a/bin/pt-find +++ b/bin/pt-find @@ -3527,6 +3527,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-find 2.1.2 +pt-find 2.1.3 =cut diff --git a/bin/pt-fingerprint b/bin/pt-fingerprint index 7cd56485..f68e72e4 100755 --- a/bin/pt-fingerprint +++ b/bin/pt-fingerprint @@ -2138,6 +2138,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-fingerprint 2.1.2 +pt-fingerprint 2.1.3 =cut diff --git a/bin/pt-fk-error-logger b/bin/pt-fk-error-logger index c3e5f082..38763d54 100755 --- a/bin/pt-fk-error-logger +++ b/bin/pt-fk-error-logger @@ -2611,6 +2611,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-fk-error-logger 2.1.2 +pt-fk-error-logger 2.1.3 =cut diff --git a/bin/pt-heartbeat b/bin/pt-heartbeat index f67a3b7e..edc02a36 100755 --- a/bin/pt-heartbeat +++ b/bin/pt-heartbeat @@ -4552,6 +4552,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-heartbeat 2.1.2 +pt-heartbeat 2.1.3 =cut diff --git a/bin/pt-index-usage b/bin/pt-index-usage index cc4638d3..188a8539 100755 --- a/bin/pt-index-usage +++ b/bin/pt-index-usage @@ -6062,6 +6062,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-index-usage 2.1.2 +pt-index-usage 2.1.3 =cut diff --git a/bin/pt-ioprofile b/bin/pt-ioprofile index 1a172429..28463753 100755 --- a/bin/pt-ioprofile +++ b/bin/pt-ioprofile @@ -1097,7 +1097,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-ioprofile 2.1.2 +pt-ioprofile 2.1.3 =cut diff --git a/bin/pt-kill b/bin/pt-kill index 6f8c8255..06df0bcb 100755 --- a/bin/pt-kill +++ b/bin/pt-kill @@ -6405,6 +6405,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-kill 2.1.2 +pt-kill 2.1.3 =cut diff --git a/bin/pt-log-player b/bin/pt-log-player index 64b46cc9..2a0e0a97 100755 --- a/bin/pt-log-player +++ b/bin/pt-log-player @@ -3624,6 +3624,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-log-player 2.1.2 +pt-log-player 2.1.3 =cut diff --git a/bin/pt-mext b/bin/pt-mext index df40f1c3..b5d9ac98 100755 --- a/bin/pt-mext +++ b/bin/pt-mext @@ -282,7 +282,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-mext 2.1.2 +pt-mext 2.1.3 =cut diff --git a/bin/pt-mysql-summary b/bin/pt-mysql-summary index 714aa055..3759e31a 100755 --- a/bin/pt-mysql-summary +++ b/bin/pt-mysql-summary @@ -2899,7 +2899,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-mysql-summary 2.1.2 +pt-mysql-summary 2.1.3 =cut diff --git a/bin/pt-online-schema-change b/bin/pt-online-schema-change index f76ac8b7..bc5066a4 100755 --- a/bin/pt-online-schema-change +++ b/bin/pt-online-schema-change @@ -8667,6 +8667,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-online-schema-change 2.1.2 +pt-online-schema-change 2.1.3 =cut diff --git a/bin/pt-pmp b/bin/pt-pmp index 5e682999..ab099c11 100755 --- a/bin/pt-pmp +++ b/bin/pt-pmp @@ -394,7 +394,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-pmp 2.1.2 +pt-pmp 2.1.3 =cut diff --git a/bin/pt-query-advisor b/bin/pt-query-advisor index a1066a0d..2170103e 100755 --- a/bin/pt-query-advisor +++ b/bin/pt-query-advisor @@ -7311,6 +7311,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-query-advisor 2.1.2 +pt-query-advisor 2.1.3 =cut diff --git a/bin/pt-query-digest b/bin/pt-query-digest index 10307748..5a899af3 100755 --- a/bin/pt-query-digest +++ b/bin/pt-query-digest @@ -15720,6 +15720,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-query-digest 2.1.2 +pt-query-digest 2.1.3 =cut diff --git a/bin/pt-show-grants b/bin/pt-show-grants index a3ba6157..845d82e9 100755 --- a/bin/pt-show-grants +++ b/bin/pt-show-grants @@ -2238,6 +2238,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-show-grants 2.1.2 +pt-show-grants 2.1.3 =cut diff --git a/bin/pt-sift b/bin/pt-sift index 0b99663d..7953239b 100755 --- a/bin/pt-sift +++ b/bin/pt-sift @@ -781,7 +781,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-sift 2.1.2 +pt-sift 2.1.3 =cut diff --git a/bin/pt-slave-delay b/bin/pt-slave-delay index 7d2f1acb..3414e7d9 100755 --- a/bin/pt-slave-delay +++ b/bin/pt-slave-delay @@ -3196,6 +3196,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-slave-delay 2.1.2 +pt-slave-delay 2.1.3 =cut diff --git a/bin/pt-slave-find b/bin/pt-slave-find index 67950593..e78942f6 100755 --- a/bin/pt-slave-find +++ b/bin/pt-slave-find @@ -3990,6 +3990,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-slave-find 2.1.2 +pt-slave-find 2.1.3 =cut diff --git a/bin/pt-slave-restart b/bin/pt-slave-restart index 48ed8c61..f20ccb6f 100755 --- a/bin/pt-slave-restart +++ b/bin/pt-slave-restart @@ -4112,6 +4112,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-slave-restart 2.1.2 +pt-slave-restart 2.1.3 =cut diff --git a/bin/pt-stalk b/bin/pt-stalk index c4457551..e332a916 100755 --- a/bin/pt-stalk +++ b/bin/pt-stalk @@ -1750,7 +1750,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-stalk 2.1.2 +pt-stalk 2.1.3 =cut diff --git a/bin/pt-summary b/bin/pt-summary index 6f3ec15c..68662a0c 100755 --- a/bin/pt-summary +++ b/bin/pt-summary @@ -2574,7 +2574,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-summary 2.1.2 +pt-summary 2.1.3 =cut diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum index 3ecbc961..1b406c65 100755 --- a/bin/pt-table-checksum +++ b/bin/pt-table-checksum @@ -9749,6 +9749,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-table-checksum 2.1.2 +pt-table-checksum 2.1.3 =cut diff --git a/bin/pt-table-sync b/bin/pt-table-sync index a9d9d779..2207c55b 100755 --- a/bin/pt-table-sync +++ b/bin/pt-table-sync @@ -11219,6 +11219,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-table-sync 2.1.2 +pt-table-sync 2.1.3 =cut diff --git a/bin/pt-table-usage b/bin/pt-table-usage index 37ef863d..97b88f4c 100755 --- a/bin/pt-table-usage +++ b/bin/pt-table-usage @@ -7372,6 +7372,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-table-usage 2.1.2 +pt-table-usage 2.1.3 =cut diff --git a/bin/pt-tcp-model b/bin/pt-tcp-model index 895d4ff2..5086eb90 100755 --- a/bin/pt-tcp-model +++ b/bin/pt-tcp-model @@ -2515,6 +2515,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-tcp-model 2.1.2 +pt-tcp-model 2.1.3 =cut diff --git a/bin/pt-trend b/bin/pt-trend index a461e225..8286f26f 100755 --- a/bin/pt-trend +++ b/bin/pt-trend @@ -2197,6 +2197,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-trend 2.1.2 +pt-trend 2.1.3 =cut diff --git a/bin/pt-upgrade b/bin/pt-upgrade index a7b26804..daa72ddc 100755 --- a/bin/pt-upgrade +++ b/bin/pt-upgrade @@ -11681,6 +11681,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-upgrade 2.1.2 +pt-upgrade 2.1.3 =cut diff --git a/bin/pt-variable-advisor b/bin/pt-variable-advisor index 27bd8646..5f1f00ad 100755 --- a/bin/pt-variable-advisor +++ b/bin/pt-variable-advisor @@ -4468,6 +4468,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-variable-advisor 2.1.2 +pt-variable-advisor 2.1.3 =cut diff --git a/bin/pt-visual-explain b/bin/pt-visual-explain index e22c7798..48282453 100755 --- a/bin/pt-visual-explain +++ b/bin/pt-visual-explain @@ -3112,6 +3112,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-visual-explain 2.1.2 +pt-visual-explain 2.1.3 =cut diff --git a/config/deb/changelog b/config/deb/changelog index bc548936..7823599a 100644 --- a/config/deb/changelog +++ b/config/deb/changelog @@ -1,3 +1,40 @@ +percona-toolkit (2.1.3) unstable; urgency=low + + * pt-kill: Implemented --log-dsn to log info about killed queries to a table + * Fixed bug 1016127: Install hint for DBD::mysql is wrong + * Fixed bug 984915: DSNParser does not check success of --set-vars + * Fixed bug 889739: pt-config-diff doesn't diff quoted strings properly + * Fixed bug 969669: pt-duplicate-key-checker --key-types=k doesn't work + * Fixed bug 1004567: pt-heartbeat --update --replace causes duplicate key error + * Fixed bug 1028614: pt-index-usage ignores --database + * Fixed bug 940733: pt-ioprofile leaves behind temp directory + * Fixed bug 941469: pt-kill doesn't reconnect if its connection is lost + * Fixed bug 1016114: pt-online-schema-change docs don't mention default values + * Fixed bug 1020997: pt-online-schema-change fails when table is empty + * Fixed bug 1022628: pt-online-schema-change error: Use of uninitialized value in numeric lt (<) at line 6519 + * Fixed bug 937225: pt-query-advisor OUTER JOIN advice in JOI.003 is confusing + * Fixed bug 821703: pt-query-digest --processlist may crash + * Fixed bug 883098: pt-query-digest crashes if processlist has extra columns + * Fixed bug 924950: pt-query-digest --group-by db may crash profile report + * Fixed bug 1022851: pt-sift error: PREFIX: unbound variable + * Fixed bug 969703: pt-sift defaults to '.' instead of '/var/lib/pt-talk' + * Fixed bug 962330: pt-slave-delay incorrectly computes lag if started when slave is already lagging + * Fixed bug 954990: pt-stalk --nostalk does not work + * Fixed bug 977226: pt-summary doesn't detect LSI RAID control + * Fixed bug 1030031: pt-table-checksum reports wrong number of DIFFS + * Fixed bug 916168: pt-table-checksum privilege check fails on MySQL 5.5 + * Fixed bug 950294: pt-table-checksum should always create schema and tables with IF NOT EXISTS + * Fixed bug 953141: pt-table-checksum ignores its default and explicit --recursion-method + * Fixed bug 1030975: pt-table-sync crashes if sql_mode includes ANSI_QUOTES + * Fixed bug 869005: pt-table-sync should always set REPEATABLE READ + * Fixed bug 903510: pt-tcp-model crashes in --type=requests mode on empty file + * Fixed bug 934310: pt-tcp-model --quantile docs wrong + * Fixed bug 980318: pt-upgrade results truncated if hostnames are long + * Fixed bug 821696: pt-variable-advisor shows too long of a snippet + * Fixed bug 844880: pt-variable-advisor shows binary logging as both enabled and disabled + + -- Percona Toolkit Developers Fri, 03 Aug 2012 18:39:39 +0000 + percona-toolkit (2.1.2) unstable; urgency=low * pt-heartbeat: Implemented --recursion-method=none diff --git a/config/sphinx-build/conf.py b/config/sphinx-build/conf.py index 6183f509..9047bbf6 100644 --- a/config/sphinx-build/conf.py +++ b/config/sphinx-build/conf.py @@ -50,7 +50,7 @@ copyright = u'2011, Percona Inc' # The short X.Y version. version = '2.1' # The full version, including alpha/beta/rc tags. -release = '2.1.2' +release = '2.1.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/percona-toolkit.pod b/docs/percona-toolkit.pod index d3dcf623..dcb39ebb 100644 --- a/docs/percona-toolkit.pod +++ b/docs/percona-toolkit.pod @@ -116,7 +116,7 @@ Canonicalize and print MySQL grants so you can effectively replicate, compare an =item pt-sift -Browses files created by pt-collect. +Browses files created by pt-stalk. =item pt-slave-delay @@ -510,6 +510,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -Percona Toolkit v2.1.2 released 2012-06-12 +Percona Toolkit v2.1.3 released 2012-08-03 =cut diff --git a/docs/release_notes.rst b/docs/release_notes.rst index c7e361c6..28f6979d 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -1,6 +1,76 @@ Release Notes ************* +v2.1.3 released 2012-08-03 +========================== + +Percona Toolkit 2.1.3 has been released. This release includes 31 bug fixes and one new feature: pt-kill --log-dsn to log information about killed queries to a table. The bug fixes are widely assorted. The following highlights some of the more interesting and "hot" bugs: + +* Fixed bug 916168: pt-table-checksum privilege check fails on MySQL 5.5 + +pt-table-checksum used to check the user's privileges, but the method was not always reliable, and due to http://bugs.mysql.com/bug.php?id=61846 it became quite unreliable on MySQL 5.5. So the privs check was removed altogether, meaning that the tool may fail later if the user's privileges are insufficient. + +* Fixed bug 950294: pt-table-checksum should always create schema and tables with IF NOT EXISTS + +In certain cases where the master and replicas have different schemas and/or tables, pt-table-checksum could break replication because the checksums table did not exist on a replica. + +* Fixed bug 821703: pt-query-digest --processlist may crash +* Fixed bug 883098: pt-query-digest crashes if processlist has extra columns + +Certain distributions of MySQL add extra columns to SHOW PROCESSLIST which caused pt-query-digest --processlist to crash at times. + +* Fixed bug 941469: pt-kill doesn't reconnect if its connection is lost + +pt-kill is meant to be a long-running daemon, so naturally it's important that it stays connected to MySQL. + +* Fixed bug 1004567: pt-heartbeat --update --replace causes duplicate key error + +The combination of these pt-heartbeat options could cause replication to break due to a duplicate key error. + +* Fixed bug 1022628: pt-online-schema-change error: Use of uninitialized value in numeric lt (<) at line 6519 + +This bug was related to how --quiet was handled, and it could happen even if --quiet wasn't given on the command line. + +All in all, this is solid bug fix release, and 2.1 users are encouraged to upgrade. + +Percona Toolkit packages can be downloaded from http://www.percona.com/downloads/percona-toolkit/ or the Percona Software Repositories (http://www.percona.com/software/repositories/). + +Changelog +--------- + +* pt-kill: Implemented --log-dsn to log info about killed queries to a table +* Fixed bug 1016127: Install hint for DBD::mysql is wrong +* Fixed bug 984915: DSNParser does not check success of --set-vars +* Fixed bug 889739: pt-config-diff doesn't diff quoted strings properly +* Fixed bug 969669: pt-duplicate-key-checker --key-types=k doesn't work +* Fixed bug 1004567: pt-heartbeat --update --replace causes duplicate key error +* Fixed bug 1028614: pt-index-usage ignores --database +* Fixed bug 940733: pt-ioprofile leaves behind temp directory +* Fixed bug 941469: pt-kill doesn't reconnect if its connection is lost +* Fixed bug 1016114: pt-online-schema-change docs don't mention default values +* Fixed bug 1020997: pt-online-schema-change fails when table is empty +* Fixed bug 1022628: pt-online-schema-change error: Use of uninitialized value in numeric lt (<) at line 6519 +* Fixed bug 937225: pt-query-advisor OUTER JOIN advice in JOI.003 is confusing +* Fixed bug 821703: pt-query-digest --processlist may crash +* Fixed bug 883098: pt-query-digest crashes if processlist has extra columns +* Fixed bug 924950: pt-query-digest --group-by db may crash profile report +* Fixed bug 1022851: pt-sift error: PREFIX: unbound variable +* Fixed bug 969703: pt-sift defaults to '.' instead of '/var/lib/pt-talk' +* Fixed bug 962330: pt-slave-delay incorrectly computes lag if started when slave is already lagging +* Fixed bug 954990: pt-stalk --nostalk does not work +* Fixed bug 977226: pt-summary doesn't detect LSI RAID control +* Fixed bug 1030031: pt-table-checksum reports wrong number of DIFFS +* Fixed bug 916168: pt-table-checksum privilege check fails on MySQL 5.5 +* Fixed bug 950294: pt-table-checksum should always create schema and tables with IF NOT EXISTS +* Fixed bug 953141: pt-table-checksum ignores its default and explicit --recursion-method +* Fixed bug 1030975: pt-table-sync crashes if sql_mode includes ANSI_QUOTES +* Fixed bug 869005: pt-table-sync should always set REPEATABLE READ +* Fixed bug 903510: pt-tcp-model crashes in --type=requests mode on empty file +* Fixed bug 934310: pt-tcp-model --quantile docs wrong +* Fixed bug 980318: pt-upgrade results truncated if hostnames are long +* Fixed bug 821696: pt-variable-advisor shows too long of a snippet +* Fixed bug 844880: pt-variable-advisor shows binary logging as both enabled and disabled + v2.1.2 released 2012-06-12 ==========================