Commit Graph

1931 Commits

Author SHA1 Message Date
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
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
Jervin R 3818331685 Run BLOB/TEXT/BINARY columns against CRC32 during row checksum to prevent CONCAT_WS overflow and null _crc_col 2016-06-17 06:43:48 +08:00
Jervin R 336d9605c7 Run BLOB/TEXT/BINARY columns against CRC32 during row checksum to prevent CONCAT_WS overflow and null _crc_col 2016-06-17 06:41:11 +08:00
Frank Cizmich bf69518067 Merge pull request #100 from percona/pt-query-digest-32bit-variable-limit-too-low-lp1547225
pt-query-digest changed default attribute-value-limit to disabled
2016-06-15 14:19:44 -03:00
frank-cizmich 500c3ed199 pt-query-digest changed default attribute-value-limit to disabled 2016-06-14 14:31:37 -03:00
Carlos Salguero 1accb78055 Fixed error introduced in MySQLProtocolParser
When originally moved the fix out of the pt-query-digest into
MySQLProtocolParser I made a mistake and I've introduced an error.
Fixed.
2016-06-13 17:29:24 -03:00
Frank Cizmich 5cc70d2b36 Merge pull request #95 from percona/bug-1402776
Bug-1402776
2016-06-13 16:15:57 -03:00
Carlos Salguero 70dc26a7b7 bug-1402776 Updated all modules using MySQLProtocolParser 2016-06-13 16:03:35 -03:00
Carlos Salguero 2f25c6255e bug-1585412 All libs updated to the latest GeneralLogParser 2016-06-13 15:15:32 -03:00
Frank Cizmich a09003fabd Merge pull request #93 from percona/bug-1585412
BUG-1585412 Fixed Date parsing regex for MySQL 5.7
2016-06-13 14:19:17 -03:00
frank-cizmich c3f4705b67 pt-stalk sort transactions - lp1537416 2016-06-09 14:31:19 -03:00
Carlos Salguero 3b72a02761 bug-1402776 WIP. Still need to write a test 2016-06-08 22:43:42 -03:00
Carlos Salguero 3313913fa7 BUG-1585412 Fixed Date parsing regex for MySQL 5.7
MySQL 5.7 general log dates are in RFC3339 format:
2006-01-02T15:04:05Z07:00
The previous version of the log parser was not able to parse
this format.
2016-06-08 17:11:36 -03:00
Manjot Singh 5642cc4fd0 Bug fixes for pt-osc --preserve-triggers after sysbench tests 2016-05-27 21:00:14 -07:00
Manjot Singh b4568ee255 Fixed small issue with old trigger run when no old triggers
line 9554
2016-05-27 08:55:37 -07:00
Manjot Singh 20641dab2b Working version with --preserve-triggers 2016-05-26 23:36:17 -07:00
Manjot Singh 5cb5f03417 pt-osc mostly working now.
Need to change original trigger logic to add to the new table before replacement.
2016-05-26 17:06:12 -07:00
Manjot Singh 99b8e76143 Completed logic for pt-osc preserve triggers
Issue with some sql, currently working on.
2016-05-26 15:57:52 -07:00
Manjot Singh 19306adcd5 Have pt-osc changes working for creating delete trigger 2016-05-25 20:45:13 -07:00
Manjot Singh 67018f88f9 fixed broken debug pt-osc 2016-05-25 08:51:03 -07:00
Manjot Singh e845898189 Begin adding --preserve-triggers to pt-osc 2016-05-25 08:45:56 -07:00
Nickolay Ihalainen 2f8182045b fix lp:1581752 5.7 compatibility for pt-query-digest, slow log time format 2016-05-14 11:52:18 +03:00
frank-cizmich a4b9b941d6 Merge branch 'pt-tcs-where-option-using-non-optimal-index-lp1576036' of github.com:percona/percona-toolkit into pt-tcs-where-option-using-non-optimal-index-lp1576036 2016-05-11 18:13:35 -03:00