diff --git a/Changelog b/Changelog index 978cfe59..8cbaefd9 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ Changelog for Percona Toolkit +v3.0.4 released 2017-08-02 * Fixed bug PT-181 : pt-online-schema-change not in sync with modules (Thanks Daniël van Eeden) * Fixed bug PT-180 : pt-online-schema-change --skip-check-slave-lag doesn't work diff --git a/Makefile.PL b/Makefile.PL index 636669c1..7db7f5c0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,7 +2,7 @@ use ExtUtils::MakeMaker; WriteMakefile( NAME => 'percona-toolkit', - VERSION => '3.0.2', + VERSION => '3.0.4', EXE_FILES => [ ], MAN1PODS => { 'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p', diff --git a/bin/pt-align b/bin/pt-align index b22f2114..a15d0574 100755 --- a/bin/pt-align +++ b/bin/pt-align @@ -1359,6 +1359,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-align 3.0.2 +pt-align 3.0.4 =cut diff --git a/bin/pt-archiver b/bin/pt-archiver index 61c41a04..6fac0681 100755 --- a/bin/pt-archiver +++ b/bin/pt-archiver @@ -8471,6 +8471,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-archiver 3.0.2 +pt-archiver 3.0.4 =cut diff --git a/bin/pt-config-diff b/bin/pt-config-diff index 1317c79e..b688de65 100755 --- a/bin/pt-config-diff +++ b/bin/pt-config-diff @@ -5843,6 +5843,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-config-diff 3.0.2 +pt-config-diff 3.0.4 =cut diff --git a/bin/pt-deadlock-logger b/bin/pt-deadlock-logger index 09ac78d1..50448b8f 100755 --- a/bin/pt-deadlock-logger +++ b/bin/pt-deadlock-logger @@ -5633,6 +5633,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-deadlock-logger 3.0.2 +pt-deadlock-logger 3.0.4 =cut diff --git a/bin/pt-diskstats b/bin/pt-diskstats index 0fada28a..1333a5f1 100755 --- a/bin/pt-diskstats +++ b/bin/pt-diskstats @@ -5627,6 +5627,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-diskstats 3.0.2 +pt-diskstats 3.0.4 =cut diff --git a/bin/pt-duplicate-key-checker b/bin/pt-duplicate-key-checker index 873eb371..3b4c8f9a 100755 --- a/bin/pt-duplicate-key-checker +++ b/bin/pt-duplicate-key-checker @@ -5678,6 +5678,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-duplicate-key-checker 3.0.2 +pt-duplicate-key-checker 3.0.4 =cut diff --git a/bin/pt-fifo-split b/bin/pt-fifo-split index 7fd5d61e..766a8ba5 100755 --- a/bin/pt-fifo-split +++ b/bin/pt-fifo-split @@ -1648,6 +1648,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-fifo-split 3.0.2 +pt-fifo-split 3.0.4 =cut diff --git a/bin/pt-find b/bin/pt-find index f249376a..444d6042 100755 --- a/bin/pt-find +++ b/bin/pt-find @@ -5037,6 +5037,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-find 3.0.2 +pt-find 3.0.4 =cut diff --git a/bin/pt-fingerprint b/bin/pt-fingerprint index 0e45e58e..90745d96 100755 --- a/bin/pt-fingerprint +++ b/bin/pt-fingerprint @@ -2239,6 +2239,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-fingerprint 3.0.2 +pt-fingerprint 3.0.4 =cut diff --git a/bin/pt-fk-error-logger b/bin/pt-fk-error-logger index d482a750..18b2dbef 100755 --- a/bin/pt-fk-error-logger +++ b/bin/pt-fk-error-logger @@ -4619,6 +4619,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-fk-error-logger 3.0.2 +pt-fk-error-logger 3.0.4 =cut diff --git a/bin/pt-heartbeat b/bin/pt-heartbeat index 31fc66d6..412ef46d 100755 --- a/bin/pt-heartbeat +++ b/bin/pt-heartbeat @@ -7205,6 +7205,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-heartbeat 3.0.2 +pt-heartbeat 3.0.4 =cut diff --git a/bin/pt-index-usage b/bin/pt-index-usage index 9c74b017..3a95a702 100755 --- a/bin/pt-index-usage +++ b/bin/pt-index-usage @@ -7608,6 +7608,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-index-usage 3.0.2 +pt-index-usage 3.0.4 =cut diff --git a/bin/pt-ioprofile b/bin/pt-ioprofile index 215739fd..a4423d9e 100755 --- a/bin/pt-ioprofile +++ b/bin/pt-ioprofile @@ -1127,7 +1127,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-ioprofile 3.0.2 +pt-ioprofile 3.0.4 =cut diff --git a/bin/pt-kill b/bin/pt-kill index d8e15197..a3c98aaa 100755 --- a/bin/pt-kill +++ b/bin/pt-kill @@ -8373,6 +8373,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-kill 3.0.2 +pt-kill 3.0.4 =cut diff --git a/bin/pt-mext b/bin/pt-mext index 381c8bb1..8281b40b 100755 --- a/bin/pt-mext +++ b/bin/pt-mext @@ -804,7 +804,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-mext 3.0.2 +pt-mext 3.0.4 =cut diff --git a/bin/pt-mysql-summary b/bin/pt-mysql-summary index 6827823c..10f0ea56 100755 --- a/bin/pt-mysql-summary +++ b/bin/pt-mysql-summary @@ -3139,7 +3139,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-mysql-summary 3.0.2 +pt-mysql-summary 3.0.4 =cut diff --git a/bin/pt-online-schema-change b/bin/pt-online-schema-change index 211af579..9814fd6c 100755 --- a/bin/pt-online-schema-change +++ b/bin/pt-online-schema-change @@ -12906,6 +12906,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-online-schema-change 3.0.2 +pt-online-schema-change 3.0.4 =cut diff --git a/bin/pt-pmp b/bin/pt-pmp index e8b2c3ec..dbf8774c 100755 --- a/bin/pt-pmp +++ b/bin/pt-pmp @@ -897,7 +897,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-pmp 3.0.2 +pt-pmp 3.0.4 =cut diff --git a/bin/pt-query-digest b/bin/pt-query-digest index 52fa933d..3ede8cb7 100755 --- a/bin/pt-query-digest +++ b/bin/pt-query-digest @@ -16752,6 +16752,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-query-digest 3.0.2 +pt-query-digest 3.0.4 =cut diff --git a/bin/pt-show-grants b/bin/pt-show-grants index e1b57e34..075454bf 100755 --- a/bin/pt-show-grants +++ b/bin/pt-show-grants @@ -2524,6 +2524,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-show-grants 3.0.2 +pt-show-grants 3.0.4 =cut diff --git a/bin/pt-sift b/bin/pt-sift index 60c7e915..39f8f846 100755 --- a/bin/pt-sift +++ b/bin/pt-sift @@ -1245,7 +1245,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-sift 3.0.2 +pt-sift 3.0.4 =cut diff --git a/bin/pt-slave-delay b/bin/pt-slave-delay index d5134412..d274f68b 100755 --- a/bin/pt-slave-delay +++ b/bin/pt-slave-delay @@ -4919,6 +4919,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-slave-delay 3.0.2 +pt-slave-delay 3.0.4 =cut diff --git a/bin/pt-slave-find b/bin/pt-slave-find index 578afa54..01ec4f0e 100755 --- a/bin/pt-slave-find +++ b/bin/pt-slave-find @@ -4445,6 +4445,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-slave-find 3.0.2 +pt-slave-find 3.0.4 =cut diff --git a/bin/pt-slave-restart b/bin/pt-slave-restart index 7ba3aabd..0d5d5a13 100755 --- a/bin/pt-slave-restart +++ b/bin/pt-slave-restart @@ -6034,6 +6034,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-slave-restart 3.0.2 +pt-slave-restart 3.0.4 =cut diff --git a/bin/pt-stalk b/bin/pt-stalk index 2bc7b94b..802f8832 100755 --- a/bin/pt-stalk +++ b/bin/pt-stalk @@ -2346,7 +2346,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-stalk 3.0.2 +pt-stalk 3.0.4 =cut diff --git a/bin/pt-summary b/bin/pt-summary index 2acadac5..e080d88e 100755 --- a/bin/pt-summary +++ b/bin/pt-summary @@ -2723,7 +2723,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-summary 3.0.2 +pt-summary 3.0.4 =cut diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum index eebf86fd..70eb2051 100755 --- a/bin/pt-table-checksum +++ b/bin/pt-table-checksum @@ -13168,6 +13168,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-table-checksum 3.0.2 +pt-table-checksum 3.0.4 =cut diff --git a/bin/pt-table-sync b/bin/pt-table-sync index f2337bdb..79887322 100755 --- a/bin/pt-table-sync +++ b/bin/pt-table-sync @@ -12899,6 +12899,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-table-sync 3.0.2 +pt-table-sync 3.0.4 =cut diff --git a/bin/pt-table-usage b/bin/pt-table-usage index 77b809a1..91831b4a 100755 --- a/bin/pt-table-usage +++ b/bin/pt-table-usage @@ -8469,6 +8469,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-table-usage 3.0.2 +pt-table-usage 3.0.4 =cut diff --git a/bin/pt-upgrade b/bin/pt-upgrade index 0760ce28..11eed616 100755 --- a/bin/pt-upgrade +++ b/bin/pt-upgrade @@ -11368,6 +11368,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-upgrade 3.0.2 +pt-upgrade 3.0.4 =cut diff --git a/bin/pt-variable-advisor b/bin/pt-variable-advisor index d6b6d891..72df7372 100755 --- a/bin/pt-variable-advisor +++ b/bin/pt-variable-advisor @@ -6188,6 +6188,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-variable-advisor 3.0.2 +pt-variable-advisor 3.0.4 =cut diff --git a/bin/pt-visual-explain b/bin/pt-visual-explain index 445f9ecf..381789cd 100755 --- a/bin/pt-visual-explain +++ b/bin/pt-visual-explain @@ -3281,6 +3281,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -pt-visual-explain 3.0.2 +pt-visual-explain 3.0.4 =cut diff --git a/config/deb/changelog b/config/deb/changelog index 3b8c3bf4..8e5d7b6e 100644 --- a/config/deb/changelog +++ b/config/deb/changelog @@ -1,3 +1,44 @@ +percona-toolkit (3.0.4-1) unstable; urgency=low + + * Fixed bug PT-181 : pt-online-schema-change not in sync with modules (Thanks Daniël van Eeden) + * Fixed bug PT-180 : pt-online-schema-change --skip-check-slave-lag doesn't work + * Fixed bug PT-178 : pt-online-schema-change appears to ignore the --check-slave-lag option + * Fixed bug PT-162 : Updated pt-table-checksum ignored dbs (Thanks Agustin Gallego) + * Fixed bug PT-161 : Safely check for undefined values in --skip-check-slave-lag (Thanks Chris Swingler) + * Fixed bug PT-154 : pt-online-schema-change --no-use-insert-ignore is broken + * Fixed bug PT-153 : pt-online-schema-change data loss when adding unique keys + * Fixed bug PT-151 : point is not decimal + * Fixed bug PT-148 : pt-osc Use of uninitialized value in printf + * Fixed bug PT-146 : Turn off statement based binlog checks + * Fixed bug PT-144 : Constraint name is too long (> 64 chars) + * Fixed bug PT-143 : pt-archiver SELECT query fails because of primary key + * Fixed bug PT-142 : pt-online-schema-change find_child_tables slow + * Fixed bug PT-138 : Added --output-format option to pt-mongodb-summary + * Fixed bug PT-136 : pt-table-checksum fails with columns having different collation/charset + * Feature PT-173 : Enable pt-table-checksum to ensure stale data is removed + * Feature PT-141 : pt-archiver archive records into csv file + * Feature PT-91 : Make pt-osc compatible with AFTER triggers + * Feature PT-90 : pt-stalk: Collect information about prepared statements if P_S is enabled (Thanks Agustin Gallego) + + -- Percona Toolkit Developers Tue, 01 Aug 2017 09:35:45 +0000 + +percona-toolkit (3.0.3-1) unstable; urgency=low + + * Fixed bug PT-133 : Sandbox won't start correctly if autocommit=0 in my.cnf + * Fixed bug PT-132 : pt-online-schema-change should imply --no-drop-new-table + * Fixed bug PT-130 : Fixed pt-mext not working with not empty Rsa_public_key + * Fixed bug PT-128 : pt-stalk ps include memory usage outputs + * Fixed bug PT-126 : Recognize comments in ALTER + * Fixed bug PT-116 : pt-online-schema change eats data on adding a unique index. Added --[no]use-insert-ignore + * Feature PT-115 : Make DSNs params able to be repeatable + * Fixed bug PT-115 : Made OptionParser to accept repeatable DSNs + * Fixed bug PT-111 : Collect MySQL variables + * Fixed bug PT-087 : Add --skip-check-slave-lag to pt-table-checksum + * Fixed bug PT-086 : Added --skip-check-slave-lag to pt-osc + * Fixed bug PT-080 : Added support for slave status in pt-stalk + + -- Percona Toolkit Developers Tue, 01 Aug 2017 10:23:25 +0000 + percona-toolkit (3.0.2-1) unstable; urgency=low * Fixed bug PT-73 : pt-mongodb tools add support for SSL connections diff --git a/config/rpm/percona-toolkit.spec b/config/rpm/percona-toolkit.spec index 1a0bc80a..b2bddfc9 100644 --- a/config/rpm/percona-toolkit.spec +++ b/config/rpm/percona-toolkit.spec @@ -48,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc COPYING INSTALL README Changelog +%doc COPYING INSTALL README.md Changelog %{_bindir}/* %{_mandir}/man1/*.1* diff --git a/config/sphinx-build/conf.py b/config/sphinx-build/conf.py index f2982805..95b78ff6 100644 --- a/config/sphinx-build/conf.py +++ b/config/sphinx-build/conf.py @@ -25,7 +25,7 @@ import sys, os # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.extlinks'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -50,7 +50,7 @@ copyright = u'2017, Percona LLC and/or its affiliates' # The short X.Y version. version = '3.0' # The full version, including alpha/beta/rc tags. -release = '3.0.2' +release = '3.0.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/installation.rst b/docs/installation.rst index ec497a5e..c03718d9 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -8,7 +8,6 @@ Percona provides packages for most popular 64-bit Linux distributions: * Debian 7 ("wheezy") * Debian 8 ("jessie") -* Ubuntu 12.04 LTS (Precise Pangolin) * Ubuntu 14.04 LTS (Trusty Tahr) * Ubuntu 16.04 LTS (Xenial Xerus) * Ubuntu 16.10 (Yakkety Yak) diff --git a/docs/percona-toolkit.pod b/docs/percona-toolkit.pod index 1a5eb44a..322f735d 100644 --- a/docs/percona-toolkit.pod +++ b/docs/percona-toolkit.pod @@ -560,6 +560,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA. =head1 VERSION -Percona Toolkit v3.0.2 released 2017-03-23 +Percona Toolkit v3.0.4 released 2017-08-02 =cut diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 0540c14a..d96bf8cd 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -1,6 +1,87 @@ Release Notes ************* +v3.0.4 released 2017-08-02 +========================== + +Percona Toolkit 3.0.4 includes the following changes: + +New Features + +* :jirabug:`PT-90`: Added collection of information about prepared statements + by ``pt-stalk`` when Performance Schema is enabled. + For more information, see :lpbug:`1642750`. + +* :jirabug:`PT-91`: Added the ``--preserve-triggers`` option + for ``pt-online-schema-change`` to support ``AFTER`` triggers. + +* :jirabug:`PT-138`: Added ``--output-format`` option + for ``pt-mongodb-summary`` to choose between JSON format + and the default plain text. + +* :jirabug:`PT-141`: Added the ``--output-format=csv`` parameter + for ``pt-archiver`` to archive rows in CSV format. + +* :jirabug:`PT-142`: Added the ``--only-same-schema-fks`` option + for ``pt-online-schema-change`` to check foreigns keys only on tables + with the same schema as the original table. + This should speed up the tool's execution, + but keep in mind that if you have foreign keys + referencing tables in other schemas, + they won't be detected. + For more information, see :lpbug:`1690122`. + +* :jirabug:`PT-153`: Added the ``--check-unique-key-change`` option + for ``pt-online-schema-change`` to abort + if the specified statement for ``--alter`` is trying to add a unique index. + This is supposed to avoid adding duplicate keys + that might lead to silently losing data. + +* :jirabug:`PT-173`: Added the ``--truncate-replicate-table`` option + for ``pt-table-checksum`` to ensure stale data is removed. + +Bug fixes + +* :jirabug:`PT-136`: Fixed ``pt-table-checksum`` to support tables + that have columns with different collations or charsets. + For more information, see :lpbug:`1674266`. + +* :jirabug:`PT-143`: Fixed primary key handling by ``pt-archiver``. + For more information, see :lpbug:`1691630`. + +* :jirabug:`PT-144`: Limited constraint name in the new table + when running ``pt-online-schema-change``. + For more information, see :lpbug:`1491674`. + +* :jirabug:`PT-146`: Fixed the ``--no-check-binlog-format`` option + for ``pt-table-checksum`` to work as expected. + +* :jirabug:`PT-148`: Fixed the use of uninitialized value in ``printf()`` + for ``pt-online-schema-change``. + For more information, see :lpbug:`1693614`. + +* :jirabug:`PT-151`: Fixed ``pt-table-sync`` to prevent field type ``point`` + to be taken as decimal. + +* :jirabug:`PT-154`: Reverted :jirabug:`PT-116` + to remove the ``--use-insert-ignore`` option + from ``pt-online-schema-change``. + +* :jirabug:`PT-161`: Fixed the ``--skip-check-slave-lag`` feature + for ``pt-table-checksum`` to safely check for undefined values. + +* :jirabug:`PT-178`: Fixed regression in ``--check-slave-lag`` option + for ``pt-online-schema-change``. + +* :jirabug:`PT-180`: Fixed regression in ``--skip-check-slave-lag`` option + for ``pt-online-schema-change``. + +* :jirabug:`PT-181`: Fixed syntax error in ``pt-online-schema-change``. + +Other Improvements + +* :jirabug:`PT-162`: Updated list of tables ignored by ``pt-table-checksum``. + v3.0.3 released 2017-05-18 ========================== diff --git a/src/go/Makefile b/src/go/Makefile index 9722b52b..cda11d26 100644 --- a/src/go/Makefile +++ b/src/go/Makefile @@ -1,6 +1,6 @@ GO := go pkgs = $(shell find . -type d -name "pt-mongodb*" -exec basename {} \;) -VERSION="3.0.2" +VERSION="3.0.4" BUILD=$(shell date +%FT%T%z) GOVERSION=$(shell go version | cut --delimiter=" " -f3)