From 4d473afe6d342c93f380265876ee4a81c25b9878 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Fri, 30 Dec 2011 15:44:29 -0700 Subject: [PATCH] Build percona-toolkit-2.0.1 --- Changelog | 2 ++ MANIFEST | 2 ++ Makefile.PL | 2 +- bin/pt-archiver | 2 +- bin/pt-collect | 2 +- bin/pt-config-diff | 2 +- bin/pt-deadlock-logger | 2 +- bin/pt-diskstats | 2 +- bin/pt-duplicate-key-checker | 2 +- bin/pt-fifo-split | 2 +- bin/pt-find | 2 +- bin/pt-fk-error-logger | 2 +- bin/pt-heartbeat | 2 +- bin/pt-index-usage | 2 +- bin/pt-kill | 2 +- bin/pt-log-player | 2 +- bin/pt-mext | 2 +- bin/pt-mysql-summary | 2 +- bin/pt-online-schema-change | 2 +- bin/pt-pmp | 2 +- bin/pt-query-advisor | 2 +- bin/pt-query-digest | 2 +- bin/pt-show-grants | 2 +- bin/pt-sift | 2 +- bin/pt-slave-delay | 2 +- bin/pt-slave-find | 2 +- bin/pt-slave-restart | 2 +- bin/pt-stalk | 2 +- bin/pt-summary | 2 +- bin/pt-table-checksum | 2 +- bin/pt-table-sync | 2 +- bin/pt-tcp-model | 2 +- bin/pt-trend | 2 +- bin/pt-upgrade | 2 +- bin/pt-variable-advisor | 2 +- bin/pt-visual-explain | 2 +- config/deb/changelog | 17 +++++++++++++ config/sphinx-build/conf.py | 4 +-- docs/percona-toolkit.pod | 12 +++++++-- docs/release_notes.rst | 47 ++++++++++++++++++++++++++++++++++++ 40 files changed, 114 insertions(+), 38 deletions(-) diff --git a/Changelog b/Changelog index 841acffc..043810b4 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,7 @@ Changelog for Percona Toolkit +v2.0.1 released 2011-12-30 + * Completely redesigned pt-table-checksum * Fixed bug 856065: pt-trend does not work * Fixed bug 887688: Prepared statements crash pt-query-digest diff --git a/MANIFEST b/MANIFEST index 7ed31cde..cb8d1224 100644 --- a/MANIFEST +++ b/MANIFEST @@ -4,6 +4,7 @@ INSTALL Makefile.PL MANIFEST README +bin/pt-align bin/pt-archiver bin/pt-collect bin/pt-config-diff @@ -15,6 +16,7 @@ bin/pt-find bin/pt-fk-error-logger bin/pt-heartbeat bin/pt-index-usage +bin/pt-ioprofile bin/pt-kill bin/pt-log-player bin/pt-mext diff --git a/Makefile.PL b/Makefile.PL index 13caa489..f23984c9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,7 +2,7 @@ use ExtUtils::MakeMaker; WriteMakefile( NAME => 'percona-toolkit', - VERSION => '1.0.1', + VERSION => '2.0.1', EXE_FILES => [ ], MAN1PODS => { 'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1', diff --git a/bin/pt-archiver b/bin/pt-archiver index f8e71b27..0e346bf6 100755 --- a/bin/pt-archiver +++ b/bin/pt-archiver @@ -5637,6 +5637,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-archiver 1.0.1 +pt-archiver 2.0.1 =cut diff --git a/bin/pt-collect b/bin/pt-collect index 6439c8bd..67242aae 100755 --- a/bin/pt-collect +++ b/bin/pt-collect @@ -443,7 +443,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-collect 1.0.1 +pt-collect 2.0.1 =cut diff --git a/bin/pt-config-diff b/bin/pt-config-diff index 2e680006..6d63ac9d 100755 --- a/bin/pt-config-diff +++ b/bin/pt-config-diff @@ -3257,6 +3257,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-config-diff 1.0.1 +pt-config-diff 2.0.1 =cut diff --git a/bin/pt-deadlock-logger b/bin/pt-deadlock-logger index 53cc00c9..17cc4e7f 100755 --- a/bin/pt-deadlock-logger +++ b/bin/pt-deadlock-logger @@ -2736,6 +2736,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-deadlock-logger 1.0.1 +pt-deadlock-logger 2.0.1 =cut diff --git a/bin/pt-diskstats b/bin/pt-diskstats index 1d5481ff..334c4129 100755 --- a/bin/pt-diskstats +++ b/bin/pt-diskstats @@ -888,7 +888,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-diskstats 1.0.1 +pt-diskstats 2.0.1 =cut diff --git a/bin/pt-duplicate-key-checker b/bin/pt-duplicate-key-checker index ad2a53b9..2e03902a 100755 --- a/bin/pt-duplicate-key-checker +++ b/bin/pt-duplicate-key-checker @@ -4270,6 +4270,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-duplicate-key-checker 1.0.1 +pt-duplicate-key-checker 2.0.1 =cut diff --git a/bin/pt-fifo-split b/bin/pt-fifo-split index 3f6a497f..aca686f1 100755 --- a/bin/pt-fifo-split +++ b/bin/pt-fifo-split @@ -1543,6 +1543,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-fifo-split 1.0.1 +pt-fifo-split 2.0.1 =cut diff --git a/bin/pt-find b/bin/pt-find index c493674e..dfa87cda 100755 --- a/bin/pt-find +++ b/bin/pt-find @@ -3818,6 +3818,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-find 1.0.1 +pt-find 2.0.1 =cut diff --git a/bin/pt-fk-error-logger b/bin/pt-fk-error-logger index 41b6f3db..450ca5e8 100755 --- a/bin/pt-fk-error-logger +++ b/bin/pt-fk-error-logger @@ -2456,6 +2456,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-fk-error-logger 1.0.1 +pt-fk-error-logger 2.0.1 =cut diff --git a/bin/pt-heartbeat b/bin/pt-heartbeat index de6f1da9..d15218c3 100755 --- a/bin/pt-heartbeat +++ b/bin/pt-heartbeat @@ -4306,6 +4306,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-heartbeat 1.0.1 +pt-heartbeat 2.0.1 =cut diff --git a/bin/pt-index-usage b/bin/pt-index-usage index d6c6bc72..931ae242 100755 --- a/bin/pt-index-usage +++ b/bin/pt-index-usage @@ -6186,6 +6186,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-index-usage 1.0.1 +pt-index-usage 2.0.1 =cut diff --git a/bin/pt-kill b/bin/pt-kill index 34108c61..4a4de8fd 100755 --- a/bin/pt-kill +++ b/bin/pt-kill @@ -4678,6 +4678,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-kill 1.0.1 +pt-kill 2.0.1 =cut diff --git a/bin/pt-log-player b/bin/pt-log-player index a86cead4..2b4dcdeb 100755 --- a/bin/pt-log-player +++ b/bin/pt-log-player @@ -3600,6 +3600,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-log-player 1.0.1 +pt-log-player 2.0.1 =cut diff --git a/bin/pt-mext b/bin/pt-mext index 63eecd23..827e923d 100755 --- a/bin/pt-mext +++ b/bin/pt-mext @@ -238,7 +238,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-mext 1.0.1 +pt-mext 2.0.1 =cut diff --git a/bin/pt-mysql-summary b/bin/pt-mysql-summary index 054b4fe8..15ce8853 100755 --- a/bin/pt-mysql-summary +++ b/bin/pt-mysql-summary @@ -1441,7 +1441,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-mysql-summary 1.0.1 +pt-mysql-summary 2.0.1 =cut diff --git a/bin/pt-online-schema-change b/bin/pt-online-schema-change index 8909aa45..7505fd13 100755 --- a/bin/pt-online-schema-change +++ b/bin/pt-online-schema-change @@ -5317,6 +5317,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-online-schema-change 1.0.1 +pt-online-schema-change 2.0.1 =cut diff --git a/bin/pt-pmp b/bin/pt-pmp index f0557b37..1fd0b0eb 100755 --- a/bin/pt-pmp +++ b/bin/pt-pmp @@ -340,7 +340,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-pmp 1.0.1 +pt-pmp 2.0.1 =cut diff --git a/bin/pt-query-advisor b/bin/pt-query-advisor index 80b877d2..4530b70c 100755 --- a/bin/pt-query-advisor +++ b/bin/pt-query-advisor @@ -7289,6 +7289,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-query-advisor 1.0.1 +pt-query-advisor 2.0.1 =cut diff --git a/bin/pt-query-digest b/bin/pt-query-digest index affca886..089491be 100755 --- a/bin/pt-query-digest +++ b/bin/pt-query-digest @@ -15631,6 +15631,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-query-digest 1.0.1 +pt-query-digest 2.0.1 =cut diff --git a/bin/pt-show-grants b/bin/pt-show-grants index 9c0a8606..5c45f18a 100755 --- a/bin/pt-show-grants +++ b/bin/pt-show-grants @@ -2223,6 +2223,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-show-grants 1.0.1 +pt-show-grants 2.0.1 =cut diff --git a/bin/pt-sift b/bin/pt-sift index 0be337d3..344cf072 100755 --- a/bin/pt-sift +++ b/bin/pt-sift @@ -652,7 +652,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-sift 1.0.1 +pt-sift 2.0.1 =cut diff --git a/bin/pt-slave-delay b/bin/pt-slave-delay index d76d86b8..f9f5eca3 100755 --- a/bin/pt-slave-delay +++ b/bin/pt-slave-delay @@ -2709,6 +2709,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-slave-delay 1.0.1 +pt-slave-delay 2.0.1 =cut diff --git a/bin/pt-slave-find b/bin/pt-slave-find index dd294b3d..3b4c5921 100755 --- a/bin/pt-slave-find +++ b/bin/pt-slave-find @@ -3190,6 +3190,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-slave-find 1.0.1 +pt-slave-find 2.0.1 =cut diff --git a/bin/pt-slave-restart b/bin/pt-slave-restart index 9649242c..5e2e4099 100755 --- a/bin/pt-slave-restart +++ b/bin/pt-slave-restart @@ -3361,6 +3361,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-slave-restart 1.0.1 +pt-slave-restart 2.0.1 =cut diff --git a/bin/pt-stalk b/bin/pt-stalk index 8af81e23..70673277 100755 --- a/bin/pt-stalk +++ b/bin/pt-stalk @@ -417,7 +417,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-stalk 1.0.1 +pt-stalk 2.0.1 =cut diff --git a/bin/pt-summary b/bin/pt-summary index af8560e1..e7e4bc91 100755 --- a/bin/pt-summary +++ b/bin/pt-summary @@ -1336,7 +1336,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-summary 1.0.1 +pt-summary 2.0.1 =cut diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum index 059b05db..caec0af2 100755 --- a/bin/pt-table-checksum +++ b/bin/pt-table-checksum @@ -8404,6 +8404,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-table-checksum 2.0-beta0 +pt-table-checksum 2.0.1 =cut diff --git a/bin/pt-table-sync b/bin/pt-table-sync index ae91a97e..93db4eb2 100755 --- a/bin/pt-table-sync +++ b/bin/pt-table-sync @@ -10220,6 +10220,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-table-sync 1.0.1 +pt-table-sync 2.0.1 =cut diff --git a/bin/pt-tcp-model b/bin/pt-tcp-model index 55b0034f..51dc7fc5 100755 --- a/bin/pt-tcp-model +++ b/bin/pt-tcp-model @@ -2412,6 +2412,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-tcp-model 1.0.1 +pt-tcp-model 2.0.1 =cut diff --git a/bin/pt-trend b/bin/pt-trend index d98b2136..b8830cfd 100755 --- a/bin/pt-trend +++ b/bin/pt-trend @@ -2094,6 +2094,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-trend 1.0.1 +pt-trend 2.0.1 =cut diff --git a/bin/pt-upgrade b/bin/pt-upgrade index a79fdf9c..b6ca290e 100755 --- a/bin/pt-upgrade +++ b/bin/pt-upgrade @@ -11821,6 +11821,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-upgrade 1.0.1 +pt-upgrade 2.0.1 =cut diff --git a/bin/pt-variable-advisor b/bin/pt-variable-advisor index a8c1c4fa..b3700ff4 100755 --- a/bin/pt-variable-advisor +++ b/bin/pt-variable-advisor @@ -3896,6 +3896,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-variable-advisor 1.0.1 +pt-variable-advisor 2.0.1 =cut diff --git a/bin/pt-visual-explain b/bin/pt-visual-explain index e56c9c12..555b9b72 100755 --- a/bin/pt-visual-explain +++ b/bin/pt-visual-explain @@ -3091,6 +3091,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-visual-explain 1.0.1 +pt-visual-explain 2.0.1 =cut diff --git a/config/deb/changelog b/config/deb/changelog index 82c9ed33..3749c2ec 100644 --- a/config/deb/changelog +++ b/config/deb/changelog @@ -1,3 +1,20 @@ +percona-toolkit (2.0.1) unstable; urgency=low + + * Completely redesigned pt-table-checksum + * Fixed bug 856065: pt-trend does not work + * Fixed bug 887688: Prepared statements crash pt-query-digest + * Fixed bug 888286: align not part of percona-toolkit + * Fixed bug 897961: ptc 2.0 replicate-check error does not include hostname + * Fixed bug 898318: ptc 2.0 --resume with --tables does not always work + * Fixed bug 903513: MKDEBUG should be PTDEBUG + * Fixed bug 908256: Percona Toolkit should include pt-ioprofile + * Fixed bug 821717: pt-tcp-model --type=requests crashes + * Fixed bug 844038: pt-online-schema-change documentation example w/drop-tmp-table does not work + * Fixed bug 864205: Remove the query to reset @crc from pt-table-checksum + * Fixed bug 898663: Typo in pt-log-player documentation + + -- Percona Toolkit Developers Fri, 30 Dec 2011 22:43:13 +0000 + percona-toolkit (1.0.1) unstable; urgency=low * Fixed bug 819421: MasterSlave::is_replication_thread() doesn't match all diff --git a/config/sphinx-build/conf.py b/config/sphinx-build/conf.py index f6b390f3..aaa8d31e 100644 --- a/config/sphinx-build/conf.py +++ b/config/sphinx-build/conf.py @@ -48,9 +48,9 @@ copyright = u'2011, Percona Inc' # built documents. # # The short X.Y version. -version = '1.0' +version = '2.0' # The full version, including alpha/beta/rc tags. -release = '1.0.2' +release = '2.0.1' # 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 42433fb7..d0fdd45a 100644 --- a/docs/percona-toolkit.pod +++ b/docs/percona-toolkit.pod @@ -26,6 +26,10 @@ This release of Percona Toolkit includes the following tools: =over +=item pt-align + +Align output from other tools to columns. + =item pt-archiver Archive rows from a MySQL table into another table or a file. @@ -70,6 +74,10 @@ Monitor MySQL replication delay. Read queries from a log and analyze how they use indexes. +=item pt-ioprofile + +Watch process IO and print a table of file and I/O activity. + =item pt-kill Kill MySQL queries that match certain criteria. @@ -132,7 +140,7 @@ Summarize system information in a nice way. =item pt-table-checksum -Perform an online replication consistency check, or checksum MySQL tables efficiently on one or many servers. +Verify MySQL replication integrity. =item pt-table-sync @@ -466,6 +474,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -Percona Toolkit v1.0.1 released 2011-09-01 +Percona Toolkit v2.0.1 released 2011-12-30 =cut diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 5beed767..32f5a493 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -1,6 +1,53 @@ Release Notes ************* +v2.0.1 released 2011-12-30 +========================== + +The Percona Toolkit development team is proud to announce the next genc +na Toolkit development team is proud to announce a new major version: 2.0. +Beginning with Percona Toolkit 2.0, we are overhauling, redesigning, and +improving the major tools. 2.0 tools are therefore not backwards compatible +with 1.0 tools, which= we still support but will not continue to develop. + +New in Percona Toolkit 2.0.1 is a completely redesigned pt-table-checksum. +The original pt-table-checksum 1.0 was rather complex, but it worked well +for many years. By contrast, the new pt-table-checksum 2.0 is much simpler but +also much more efficient and reliable. We spent months rethinking, redesigning, +and testing every aspect of the tool. The three most significant changes: +pt-table-checksum 2.0 does only --replicate, it has only one chunking algorithm, +and its memory usage is stable even with hundreds of thousands of tables and +trillions of rows. The tool is now dedicated to verifying MySQL replication +integrity, nothing else, which it does extremely well. + +In Percona Toolkit 2.0.1 we also fixed various small bugs and forked ioprofile +and align (as pt-ioprofile and pt-align) from Aspersa. + +If you still need functionalities in the original pt-table-checksum, +the latest Percona Toolkit 1.0 release remains available for download. +Otherwise, all new development in Percona Toolkit will happen in 2.0. + +Download the latest release of Percona Toolkit 2.0 from +http://www.percona.com/software/percona-toolkit/ +or the Percona Software Repositories +(http://www.percona.com/docs/wiki/repositories:start). + +Changelog +--------- + +* Completely redesigned pt-table-checksum +* Fixed bug 856065: pt-trend does not work +* Fixed bug 887688: Prepared statements crash pt-query-digest +* Fixed bug 888286: align not part of percona-toolkit +* Fixed bug 897961: ptc 2.0 replicate-check error does not include hostname +* Fixed bug 898318: ptc 2.0 --resume with --tables does not always work +* Fixed bug 903513: MKDEBUG should be PTDEBUG +* Fixed bug 908256: Percona Toolkit should include pt-ioprofile +* Fixed bug 821717: pt-tcp-model --type=requests crashes +* Fixed bug 844038: pt-online-schema-change documentation example w/drop-tmp-table does not work +* Fixed bug 864205: Remove the query to reset @crc from pt-table-checksum +* Fixed bug 898663: Typo in pt-log-player documentation + v1.0.1 released 2011-09-01 ==========================