Commit Graph

2156 Commits

Author SHA1 Message Date
Carlos Salguero
e4d9bd3871 Merge pull request #144 from percona/bug-1636068
Added pause to NibbleIterator
2016-11-16 10:41:40 -03:00
Carlos Salguero
c17f0560ec Fixed missing ; in OptionParser 2016-11-05 10:40:45 -03:00
Carlos Salguero
d389102721 PT-45 Added schemas to the db ignore list 2016-11-03 18:24:03 -03:00
Carlos Salguero
f9d3a6725f Added --remove-data-dir feature 2016-11-03 10:33:05 -03:00
Carlos Salguero
c91350f2eb Added pause to NibbleIterator 2016-11-01 19:05:49 -03:00
Carlos Salguero
15cdd12b37 Cosmetic changes and tests 2016-11-01 14:20:38 -03:00
Daniel Guzman Burgos
8b696950c5 Adding --new-partition parameter in order to create the table on a different partition 2016-11-01 08:59:59 -05:00
Carlos Salguero
74eb8b72c0 Added test. Updated all modules 2016-10-27 13:39:51 -03:00
Carlos Salguero
d9c991c8ec Fixed pt-upgrade fails with SELECT INTO (ingore case) 2016-10-19 13:06:26 -03:00
amontecillo
048defdb50 Simplified the new fk algo and renamed a variable 2016-10-12 21:07:16 -07:00
amontecillo
f6f7876e17 pt-osc: Fails with duplicate key in table for self-referencing FK
https://bugs.launchpad.net/percona-toolkit/+bug/1632522
2016-10-11 17:42:32 -07:00
Carlos Salguero
4ccc350b7a Merge branch '2.2' into bug-1604834 2016-10-03 14:39:34 -03:00
Carlos Salguero
67b62c0f1f Merge pull request #117 from dveeden/fix_show_grants_mariadb
Fix version check in pt-show-grants for MariaDB 10.0+
2016-10-03 11:45:52 -03:00
Carlos Salguero
ea7bd7f06a Merge pull request #135 from percona/pt-osc-fk-single-underscore-lp1498128
pt-osc doesn't apply underscores to foreign keys individually
2016-09-20 11:41:23 -03:00
Carlos Salguero
2b5e82c27c Added --preserve-embedded-numbers. Still nedd to add tests 2016-08-23 12:59:54 -03:00
Carlos Salguero
cc8f750f60 Fixed sort order fro ENUM fields 2016-08-21 20:52:25 -03:00
Carlos Salguero
068890cb9f Merge pull request #127 from percona/pt-osc-version-error
Fixed systax error in Perl 5.8.8
2016-08-15 11:15:17 -03:00
Carlos Salguero
ac9cf1b7a9 Fixed systax error in Perl 5.8.8 2016-08-15 10:39:13 -03:00
Evgeniy Patlan
9a8552ee04 Build percona-toolkit-2.2.19 2016-08-15 06:01:54 +00:00
Carlos Salguero
5e7874674b Updated Percona::Toolkit version & Changelog 2016-08-05 16:03:43 -03:00
Carlos Salguero
3288185643 Revert "Merge pull request #107 from percona/bug-984057"
This reverts commit 417b24299c, reversing
changes made to 0b62ba26af.
2016-08-04 17:36:40 -03:00
Carlos Salguero
98d07179b8 Revert "Merge pull request #92 from ManjotS/2.2"
This reverts commit 0b62ba26af, reversing
changes made to e983eff3d3.
2016-08-04 17:34:27 -03:00
Carlos Salguero
68685117a6 Merge pull request #119 from dveeden/reread_slaves_dsn
Recheck the list of slaves in the table specified with DSN
2016-08-02 16:10:25 -03:00
Carlos Salguero
c77b39daf6 Merge pull request #121 from sodabrew/patch-1
Handle GTID ranges where the left-side integer is larger than 9
2016-08-02 11:57:20 -03:00
Aaron Stone
10f7d32ea9 Remove extra word 'default' from the --verbose help, it was confusing the option parser 2016-08-01 14:49:46 -07:00
Aaron Stone
fb2957374b Handle GTID ranges where the left-side integer is larger than 9 2016-08-01 14:13:24 -07:00
Daniël van Eeden
9596848343 Recheck the list of slaves in the table specified with DSN
This is to add/remove monitored machines while the OSC runs.

This contains work by:
- Daniël van Eeden <daniel.vaneeden@booking.com>
- Mikhail Izioumtchenko <mikhail.izioumtchenko@booking.com>
2016-07-26 15:50:49 +02:00
Carlos Salguero
9eb95cb4da Tests added for SlowLogParser
SlowLogParser now is able to handle MySQL dates in RFC3339 format.
A new test for this case was added and all scripts using SlowLogParser
in bin/ have been updated.
2016-07-20 15:53:59 -03:00
Carlos Salguero
94bb5ad2c5 Merge branch '2.2-lp1581752' of https://github.com/ihanick/percona-toolkit into 1581752-slow-log 2016-07-20 14:32:12 -03:00
Daniël van Eeden
cbd6ae55a0 Fix version check in pt-show-grants for MariaDB 10.0+ 2016-07-15 15:52:12 +02:00
Carlos Salguero
c9e506da47 Merge pull request #102 from dankinon/2.2
add enum column type to is_char check so that values are properly quoted
2016-07-12 17:49:28 -03:00
Carlos Salguero
3bcfb59a8d Merge branch 'apply-slave-user' into 2.2 2016-07-12 13:44:57 -03:00
Carlos Salguero
2316c0e95d Merge pull request #48 from jynus/2.2
Changing default character set of the checksums table to utf8
2016-07-12 13:24:39 -03:00
Carlos Salguero
572c8c1f19 Added --slave-user & --slave pass to all scripts
The fix has been applied to all files using MasterSlave pkg

 Changes to be committed:
	modified:   bin/pt-archiver
	modified:   bin/pt-heartbeat
	modified:   bin/pt-kill
	modified:   bin/pt-query-digest
	modified:   bin/pt-slave-find
	modified:   bin/pt-slave-restart
	modified:   bin/pt-table-checksum
2016-07-12 12:59:12 -03:00
Carlos Salguero
350a4fd641 Added tests for BUG-1595678 / pt-table-sync 2016-07-07 15:33:38 -03:00
Carlos Salguero
5c42d84c95 BUG-1517155 Added --create-table-engine param to pt-heartbeat 2016-07-07 12:57:04 -03:00
Carlos Salguero
26cf65015c BUG-1595678 Updated MasterSlave lib into binaries
Also updated a 'SHOW PROCESSLIST' to 'SHOW FULL PROCESSLIST' because
pt-kill needs more than 100 chars in the info field.
2016-07-06 20:41:42 -03:00
Carlos Salguero
2c1db036b5 BUG-1595678 Added --slave-user, --slave-password params 2016-07-06 19:04:21 -03:00
Carlos Salguero
c0aa88eb4f Merge pull request #108 from percona/bug-1592166
Bug-1592166 pt-kill leaks memory each time it kills a query
2016-07-05 17:16:22 -03:00
Carlos Salguero
6249737400 Merge branch '2.2' into bug-984057 2016-07-05 17:03:26 -03:00
Carlos Salguero
0b62ba26af Merge pull request #92 from ManjotS/2.2
Added --preserve-triggers to pt-osc
2016-07-05 17:02:45 -03:00
Carlos Salguero
f8c91c2c3b bug-984057 Tests for --preserve-triggers 2016-07-05 16:27:25 -03:00
Carlos Salguero
e983eff3d3 Merge pull request #103 from percona/bug-1593265
Bug-1593265 Fixed pt-archiver deletes wrong rows
2016-07-05 13:05:44 -03:00
Carlos Salguero
f602f0456d Merge pull request #106 from percona/bug-1592608
Bug-1592608 Large BLOB/TEXT/BINARY Produces NULL Checksum
2016-07-05 12:56:19 -03:00
Carlos Salguero
c9ed7aeb94 Merge branch '2.2' of https://github.com/ManjotS/percona-toolkit into bug-984057 2016-06-29 17:00:22 -03:00
Carlos Salguero
1c047e763b bug-1592166 Fixed memory leak in pt-kill 2016-06-29 12:26:06 -03:00
Manjot Singh
a564cc7bc8 Added changes suggested by mbenshoof, michaeldg
- Fixed issue with dry run and preserve triggers
- Fixed issue with trim multiline
- Changed DSNParser in lib
2016-06-28 12:33:44 -07:00
Evgeniy Patlan
a8d045beb6 Build percona-toolkit-2.2.18 2016-06-24 11:04:56 +03:00
Carlos Salguero
01daf0030e bug-1593265 Fixed pt-archiver deletes wrong rows
In the case we are trying to migrate a table with no PK nor an unique
key, pt-archiver was failing to select the correct rows for deletion.
This fix implemented here is to add ALL columns in the WHERE clause of
the DELETE command. This way, we are deleting only the exact same row we
just migrated but using columns instead of an index.
2016-06-22 13:17:57 -03:00
root
1f9974eae1 add enum column type to is_char check so that values are properly quoted 2016-06-21 20:30:37 -07:00