Commit Graph

2093 Commits

Author SHA1 Message Date
Carlos Salguero
e428fa5187 3.0.5 Testing 2017-11-07 17:52:14 -03:00
Carlos Salguero
9440e98393 PT-139 Improved error message for --channel 2017-11-01 09:57:52 -03:00
Carlos Salguero
4d1ab843f1 PT-139 Passing channel param to the masterslave lib 2017-10-31 16:27:13 -03:00
Carlos Salguero
2b4b0375e1 PT-139 Added --channel to pt-table-checksum 2017-10-31 15:41:08 -03:00
Carlos Salguero
498bc54f47 Merge branch '3.0' into PT-139 2017-10-31 15:36:56 -03:00
Carlos Salguero
b5c2b40ca1 PT-211 Fixed pt-mext Rsa_public_key line issue 2017-10-25 11:14:44 -03:00
Carlos Salguero
b51d09d811 PT-202 pt-online-schema-change fails with virtual columns
Modified TableParser to ignore GENERATED columns from the columns list
used to construct SELECTs/INSERTs
2017-10-05 15:19:57 -03:00
Carlos Salguero
4c15a39784 PT-200 Index with keyword 'unique' 2017-09-25 15:16:14 -03:00
Carlos Salguero
89e700c3c3 Revert "Turn off statement based binlog checks" 2017-09-21 11:31:36 -03:00
Carlos Salguero
f466ed90c5 Merge pull request #265 from percona/PT-187
PT-187 Updated documentation for pt-table-checksum
2017-09-19 15:32:18 -03:00
Carlos Salguero
794999154c PT-187 Updated documentation for pt-table-checksum
Added info & links regarding the use of CRC32 as the checksum algorithm.
2017-09-19 14:58:26 -03:00
Carlos Salguero
fec1a1f758 PT-167 pt-kill kills prepared statements w/o checking busy-time 2017-09-06 16:46:47 -03:00
Carlos Salguero
738f9809f8 PT-167 Still need to add tests
Description here
2017-09-04 12:03:36 -03:00
Carlos Salguero
7e59feb8dd PT-196 pt-onine-schema-change is pausing because {some_status_variable}=0
Description here
2017-08-30 14:54:47 -03:00
Carlos Salguero
511c80389f PT-152 Added SHOW SLAVE HOST to pt-mysql-summary 2017-08-29 15:45:13 -03:00
Carlos Salguero
54dfcf36de PT-193 New test and updated libraries
Added a specific test for this issue and updated all binaries to the
latest TableParser version
2017-08-15 12:06:24 -03:00
Carlos Salguero
7359ccdd3b PT-186 New fix to make all other tests to pass 2017-08-04 19:21:53 -03:00
Carlos Salguero
8d04934a3a Merge branch '3.0' into PT-186 2017-08-04 18:28:35 -03:00
Carlos Salguero
d939d2bf30 PT-186 osc doesn't recognize mixed case in field names
--alter 'CHANGE COLUMN C1 c1 ...' was failing because osc was not
lowering the case of the field names when trying to detect renamed
columns.
2017-08-04 17:57:14 -03:00
Mykola Marzhan
70265ad22f RM-269 bump version 2017-08-01 14:48:09 +03:00
Carlos Salguero
481acbaaa0 Updates for 3.0.4 release
- Updated lib/Percona/Toolkit.pm version to 3.0.4
- Updated all scripts version to 3.0.4
- Updated the build script removing seds to add links to Jira/Launchpad
in favor of a solution in config/sphinx-build/conf.py
2017-07-31 16:07:19 -03:00
Carlos Salguero
85ecf7d30c Updated Percona::Toolkit version 2017-07-31 15:29:08 -03:00
Carlos Salguero
b6bec3965a PT-181 online-schema-change not in sync with modules
- Modules updated
- Improved tests
2017-07-27 11:28:46 -03:00
Carlos Salguero
abff09ab77 Merge pull request #235 from percona/PT-91-MySQL-5.7
PT-91 Added --preserve-triggers feature for MySQL 5.7+
2017-07-26 16:02:59 -03:00
Carlos Salguero
8fa29edc45 Merge pull request #243 from percona/PT-173
PT-173 Added --truncate-replicate-table
2017-07-26 15:59:09 -03:00
Carlos Salguero
7e15cf2179 PT-178 Fixed regression in --check-slave-lag option
Reverted PR #119 https://github.com/percona/percona-toolkit/pull/119 and
Added new tests to prevent this happening again.
2017-07-26 13:29:38 -03:00
Carlos Salguero
98edc12427 Revert "Merge pull request #119 from dveeden/reread_slaves_dsn"
This reverts commit 68685117a6, reversing
changes made to 7a035cb2e7.
2017-07-25 22:01:05 -03:00
Carlos Salguero
d794736ebf PT-173 Added --truncate-replicate-table
This feature will truncate the replicate table before starting the
checksunm process. The reason for this ticket is to clean old/stale data
in the replicate table since --empty-replicate-table will only replace
data for existing tables.

Description here
2017-07-18 08:30:17 -03:00
Kenny Gryp
9cac1454a9 bug that was introduced in commit 659092bc95 2017-07-17 18:09:48 +02:00
Carlos Salguero
659092bc95 Moved -ppreserve-triggers tests to its own file 2017-07-15 17:54:22 -03:00
Carlos Salguero
80fa0283b2 PT-91 Fixes with locks and --no-swap-table
* Merged code that implements TABLE LOCKs during tiggers creation
  PR #241 https://github.com/percona/percona-toolkit/pull/241/
* Code refactored for --preserve triggers with --no-swap-tables and
  drop-new-table
* Added new test for --preserve triggers with --no-swap-tables and
  drop-new-table
2017-07-13 15:59:57 -03:00
Kenny Gryp
8c53cd2757 - typo use_ramdom_suffix
- removed drop_old_triggers reliance to drop or not drop original trigger
- fixed bug where --no-swap-tables removed the triggers
- duplicated the trigger when --no-swap-tables and --no-drop-new-table is specified
- fixed atomicity of the drop/create trigger by locking both tables first.
- updated readme
2017-07-12 23:21:39 +02:00
Carlos Salguero
1a68782daf DOC-467 Replaced mention to Maatkit to Percona Server 2017-07-12 13:16:02 -03:00
Carlos Salguero
73396a509b PT-91 More tests added 2017-07-06 01:59:31 -03:00
Carlos Salguero
7772630bf5 PT-91 WIP 2017-07-05 11:19:04 -03:00
Carlos Salguero
6f12882b91 PT-91 Added --preserve-triggers feature for MySQL 5.7+ 2017-07-04 14:23:32 -03:00
Carlos Salguero
0bee6e50bc Merge pull request #190 from guriandoro/pt-stalk-collect-prepared-statements-LP1642750
pt stalk collect prepared statements lp1642750 (PT-90)
2017-07-02 23:32:22 -03:00
Carlos Salguero
be9931bc08 PT-153 Fixed regex to detect add unique keys 2017-06-28 14:30:04 -03:00
Carlos Salguero
ee37f8b88a PT-153 Fixed regex, updated tests, merged Kenny's fixes 2017-06-28 11:29:50 -03:00
Kenny Gryp
b356634279 fix UNIQUE key detection to include all documented ways in ALTER TABLE 2017-06-27 15:00:05 -07:00
Kenny Gryp
719370d679 pt-osc:
- renamed 'fail-on-unique-key-change' to 'check-unique-key-change' as is compatible with the other options (check-replication-filters, check-alter
- changed documentation to say that it will FORCE to abort when it detects unique index change (was avoid)
- updated explanation a bit
- formatting for perldoc & sphinx
- pt-osc does not exist, only pt-online-schema-change, don't confuse people, it's only used internally :)
2017-06-27 14:56:25 -07:00
Carlos Salguero
3d0deabbdf PT-153 Added --[no]fail-on-unique-key-change param 2017-06-27 13:53:08 -03:00
Carlos Salguero
a01f4650de PT-153 Added detection of new UNIQUE indexes in --alter 2017-06-21 12:56:38 -03:00
Carlos Salguero
ae0dc0bba3 Revert "Merge pull request #206 from percona/PT-116"
This reverts commit c80955d5c0, reversing
changes made to 40d2fe969a.
2017-06-19 19:16:01 -03:00
Carlos Salguero
a826bf97b8 Merge pull request #191 from guriandoro/pt-table-checksum-fix-ignored-dbs-LP1642994
pt table checksum fix ignored dbs lp1642994
2017-06-19 11:47:27 -03:00
guriandoro
6bca01e8fb PT-90 Ran util/update-modules after merge from 3.0
And proceeded to test with `prove -v t/pt-stalk/`.
All tests OK.
2017-06-10 11:58:23 -04:00
guriandoro
b775701551 Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750
Conflicts:
	bin/pt-stalk
	lib/bash/collect.sh
2017-06-10 11:45:33 -04:00
Chris Swingler
6558c571d5 Safely check for undefined values in --skip-check-slave-lag 2017-06-09 16:01:50 -05:00
Carlos Salguero
ad9767be5c PT-148 Fixed Use of uninitialized value in printf 2017-05-29 17:11:02 -03:00
Carlos Salguero
bd6e381494 PT-136 pt-table-checksum shows diffs when table has columns with different collation/charset 2017-05-25 17:59:25 -03:00