Merge branch '3.0' into PT-186

This commit is contained in:
Carlos Salguero
2017-08-04 18:28:35 -03:00
41 changed files with 161 additions and 39 deletions

View File

@@ -1,5 +1,6 @@
Changelog for Percona Toolkit 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-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-180 : pt-online-schema-change --skip-check-slave-lag doesn't work

View File

@@ -2,7 +2,7 @@ use ExtUtils::MakeMaker;
WriteMakefile( WriteMakefile(
NAME => 'percona-toolkit', NAME => 'percona-toolkit',
VERSION => '3.0.2', VERSION => '3.0.4',
EXE_FILES => [ <bin/*> ], EXE_FILES => [ <bin/*> ],
MAN1PODS => { MAN1PODS => {
'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p', 'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p',

View File

@@ -1359,6 +1359,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-align 3.0.2 pt-align 3.0.4
=cut =cut

View File

@@ -8471,6 +8471,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-archiver 3.0.2 pt-archiver 3.0.4
=cut =cut

View File

@@ -5843,6 +5843,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-config-diff 3.0.2 pt-config-diff 3.0.4
=cut =cut

View File

@@ -5633,6 +5633,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-deadlock-logger 3.0.2 pt-deadlock-logger 3.0.4
=cut =cut

View File

@@ -5627,6 +5627,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-diskstats 3.0.2 pt-diskstats 3.0.4
=cut =cut

View File

@@ -5678,6 +5678,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-duplicate-key-checker 3.0.2 pt-duplicate-key-checker 3.0.4
=cut =cut

View File

@@ -1648,6 +1648,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-fifo-split 3.0.2 pt-fifo-split 3.0.4
=cut =cut

View File

@@ -5037,6 +5037,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-find 3.0.2 pt-find 3.0.4
=cut =cut

View File

@@ -2239,6 +2239,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-fingerprint 3.0.2 pt-fingerprint 3.0.4
=cut =cut

View File

@@ -4619,6 +4619,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-fk-error-logger 3.0.2 pt-fk-error-logger 3.0.4
=cut =cut

View File

@@ -7205,6 +7205,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-heartbeat 3.0.2 pt-heartbeat 3.0.4
=cut =cut

View File

@@ -7608,6 +7608,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-index-usage 3.0.2 pt-index-usage 3.0.4
=cut =cut

View File

@@ -1127,7 +1127,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-ioprofile 3.0.2 pt-ioprofile 3.0.4
=cut =cut

View File

@@ -8373,6 +8373,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-kill 3.0.2 pt-kill 3.0.4
=cut =cut

View File

@@ -804,7 +804,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-mext 3.0.2 pt-mext 3.0.4
=cut =cut

View File

@@ -3139,7 +3139,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-mysql-summary 3.0.2 pt-mysql-summary 3.0.4
=cut =cut

View File

@@ -12906,6 +12906,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-online-schema-change 3.0.2 pt-online-schema-change 3.0.4
=cut =cut

View File

@@ -897,7 +897,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-pmp 3.0.2 pt-pmp 3.0.4
=cut =cut

View File

@@ -16752,6 +16752,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-query-digest 3.0.2 pt-query-digest 3.0.4
=cut =cut

View File

@@ -2524,6 +2524,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-show-grants 3.0.2 pt-show-grants 3.0.4
=cut =cut

View File

@@ -1245,7 +1245,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-sift 3.0.2 pt-sift 3.0.4
=cut =cut

View File

@@ -4919,6 +4919,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-slave-delay 3.0.2 pt-slave-delay 3.0.4
=cut =cut

View File

@@ -4445,6 +4445,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-slave-find 3.0.2 pt-slave-find 3.0.4
=cut =cut

View File

@@ -6034,6 +6034,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-slave-restart 3.0.2 pt-slave-restart 3.0.4
=cut =cut

View File

@@ -2346,7 +2346,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-stalk 3.0.2 pt-stalk 3.0.4
=cut =cut

View File

@@ -2723,7 +2723,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-summary 3.0.2 pt-summary 3.0.4
=cut =cut

View File

@@ -13168,6 +13168,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-table-checksum 3.0.2 pt-table-checksum 3.0.4
=cut =cut

View File

@@ -12899,6 +12899,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-table-sync 3.0.2 pt-table-sync 3.0.4
=cut =cut

View File

@@ -8469,6 +8469,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-table-usage 3.0.2 pt-table-usage 3.0.4
=cut =cut

View File

@@ -11368,6 +11368,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-upgrade 3.0.2 pt-upgrade 3.0.4
=cut =cut

View File

@@ -6188,6 +6188,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-variable-advisor 3.0.2 pt-variable-advisor 3.0.4
=cut =cut

View File

@@ -3281,6 +3281,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-visual-explain 3.0.2 pt-visual-explain 3.0.4
=cut =cut

View File

@@ -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 <toolkit-dev@percona.com> 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 <toolkit-dev@percona.com> Tue, 01 Aug 2017 10:23:25 +0000
percona-toolkit (3.0.2-1) unstable; urgency=low percona-toolkit (3.0.2-1) unstable; urgency=low
* Fixed bug PT-73 : pt-mongodb tools add support for SSL connections * Fixed bug PT-73 : pt-mongodb tools add support for SSL connections

View File

@@ -48,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING INSTALL README Changelog %doc COPYING INSTALL README.md Changelog
%{_bindir}/* %{_bindir}/*
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*

View File

@@ -25,7 +25,7 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions # Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. # 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. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
@@ -50,7 +50,7 @@ copyright = u'2017, Percona LLC and/or its affiliates'
# The short X.Y version. # The short X.Y version.
version = '3.0' version = '3.0'
# The full version, including alpha/beta/rc tags. # 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 # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View File

@@ -8,7 +8,6 @@ Percona provides packages for most popular 64-bit Linux distributions:
* Debian 7 ("wheezy") * Debian 7 ("wheezy")
* Debian 8 ("jessie") * Debian 8 ("jessie")
* Ubuntu 12.04 LTS (Precise Pangolin)
* Ubuntu 14.04 LTS (Trusty Tahr) * Ubuntu 14.04 LTS (Trusty Tahr)
* Ubuntu 16.04 LTS (Xenial Xerus) * Ubuntu 16.04 LTS (Xenial Xerus)
* Ubuntu 16.10 (Yakkety Yak) * Ubuntu 16.10 (Yakkety Yak)

View File

@@ -560,6 +560,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
Percona Toolkit v3.0.2 released 2017-03-23 Percona Toolkit v3.0.4 released 2017-08-02
=cut =cut

View File

@@ -1,6 +1,87 @@
Release Notes 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 v3.0.3 released 2017-05-18
========================== ==========================

View File

@@ -1,6 +1,6 @@
GO := go GO := go
pkgs = $(shell find . -type d -name "pt-mongodb*" -exec basename {} \;) pkgs = $(shell find . -type d -name "pt-mongodb*" -exec basename {} \;)
VERSION="3.0.2" VERSION="3.0.4"
BUILD=$(shell date +%FT%T%z) BUILD=$(shell date +%FT%T%z)
GOVERSION=$(shell go version | cut --delimiter=" " -f3) GOVERSION=$(shell go version | cut --delimiter=" " -f3)