Commit Graph

2093 Commits

Author SHA1 Message Date
Carlos Salguero
2adac69ad3 Merge pull request #193 from jacobbednarz/3.0
Turn off statement based binlog checks
2017-05-24 14:21:54 -03:00
Carlos Salguero
f55849fb77 Merge pull request #218 from percona/pt-summary_shell_fixes
Fix some syntax errors in `pt-summary`
2017-05-24 12:01:35 -03:00
Carlos Salguero
a86acce966 Merge branch '3.0' into PT-144 2017-05-24 11:37:46 -03:00
Carlos Salguero
163a7b095f Merge branch '3.0' into PT-143 2017-05-23 16:59:30 -03:00
Carlos Salguero
e8d8b39fc3 Merge branch '3.0' into PT-142 2017-05-23 15:19:33 -03:00
Carlos Salguero
2b0064db03 PT-141 Updated changelog & test fix 2017-05-23 15:05:21 -03:00
Carlos Salguero
8f309c64cf Merge branch '3.0' into PT-141 2017-05-23 14:21:03 -03:00
Carlos Salguero
38702783a4 PT-144 Fixed Constraint name is too long 2017-05-23 12:33:55 -03:00
Carlos Salguero
fc4b3a73ee Merge branch '3.0' into PT-139 2017-05-22 14:13:42 -03:00
Carlos Salguero
a4ecd9678f PT-143 Fixed key handling
When tehre is a table having a key like:
PRIMARY KEY (`id`,`start`,`end`,`user_id`(13),`interval`),
DBI driver is taking (13) as part of the field name.
Fixed the way pt-archiver composes the key using DBI cols field
instead of the colnames field since the cols field has the correct
field names for the key.
2017-05-18 12:03:02 -03:00
Carlos Salguero
43b50f8a8c PT-126 Fix remove comments regex 2017-05-17 09:38:19 -03:00
Carlos Salguero
109af35a49 PT-126 Recognize comments having quotes 2017-05-16 13:53:49 -03:00
Carlos Salguero
04961a8f07 Updated Percona::Toolkit version to 3.0.3 2017-05-16 09:14:50 -03:00
Kamil Dziedzic
24a7e8f67a fix some syntax errors; tested on osx
before:
$ pt-summary
...
/usr/local/Cellar/percona-toolkit/3.0.2/libexec/bin/pt-summary: line 2263: [: missing `]'
/usr/local/Cellar/percona-toolkit/3.0.2/libexec/bin/pt-summary: line 2268: STATUS_THP_SYSTEM: unbound variable
$ echo $?
1
after:
works:)
2017-05-16 13:23:57 +02:00
Carlos Salguero
81f4ff4752 PT-142 pt-online-schema-change find_child_tables slow 2017-05-15 22:01:22 -03:00
Carlos Salguero
e305c40f52 PT-141 added --output-format to pt-archiver 2017-05-15 13:51:58 -03:00
Carlos Salguero
7d9dd84874 PT-141 WIP 2017-05-14 20:03:00 -03:00
Carlos Salguero
820448fca3 PT-139 wait_for_master returns error if no channel was specified in a multi master env 2017-05-12 15:44:57 -03:00
Carlos Salguero
5744fdf583 PT-139 Added replication channels suport to pt-table-sync 2017-05-12 11:55:52 -03:00
Carlos Salguero
d1404d129f WIP 2017-05-10 11:50:25 -03:00
Carlos Salguero
e32488d592 PT-132 pt-online-schema-change should imply --no-drop-new-table when --no-swap-tables and --no-drop-triggers used 2017-05-05 12:55:23 -03:00
Carlos Salguero
4c7ad1b3d0 WIP 2017-05-04 00:11:53 -03:00
Carlos Salguero
a6c55737f5 Updated tests & 5.7 sandbox files 2017-04-27 12:06:43 -03:00
Carlos Salguero
4ff7e58898 PT-130 Fixed pt-mext not working with not empty Rsa_public_key 2017-04-21 15:29:25 -03:00
Carlos Salguero
4224fc7abf PT-116 Added --[no]use-insert-ignore 2017-04-20 15:31:33 -03:00
Carlos Salguero
34d0ca7184 PT-126 Recognize comments in ALTER 2017-04-13 17:10:01 -03:00
Carlos Salguero
3d163ca41b Merge pull request #203 from guriandoro/pt-stalk-ps-include-mem-usage-outputs-LP1510809
pt-stalk ps include memory usage outputs
2017-04-13 16:52:43 +02:00
Carlos Salguero
d4ceab4afd Merge branch '3.0' into PT-87 2017-04-12 17:09:27 -03:00
Carlos Salguero
3568cad229 PT-87 Added --skip-check-slave-lag to pt-table-checksum 2017-04-12 17:07:06 -03:00
Carlos Salguero
2fe4afc9cf added --skip-check-slave-lag 2017-04-12 12:34:39 -03:00
guriandoro
ff069b4d8c Changes after running the util/update-modules command.
cd ${PERCONA_TOOLKIT_BRANCH}
util/update-modules bin/pt-stalk collect
2017-04-11 19:24:09 -04:00
Carlos Salguero
e234a6e99d PT-86 Added --skip-check-slave-lag to pt-osc 2017-03-30 14:23:09 -03:00
Carlos Salguero
e4f1625d30 Merge branch '3.0' into PT-63 2017-03-30 11:08:12 -03:00
Carlos Salguero
dd6f9046ef PT-115 Updated OptionParser in all scripts 2017-03-30 10:23:46 -03:00
Carlos Salguero
c554e98926 Revert "Merge pull request #197 from percona/PT-115"
This reverts commit 0f5ce4cc0b, reversing
changes made to 515833f3d2.
2017-03-29 15:10:25 -03:00
Carlos Salguero
cd23d7b163 PT-63 WIP 2017-03-29 14:56:04 -03:00
Carlos Salguero
2ebd886289 Merge branch '3.0' into PT-63 2017-03-29 14:46:55 -03:00
Carlos Salguero
e22e8f4b1d PT-115 Made OptionParser to accept repeatable DSN parameters 2017-03-29 14:45:23 -03:00
Carlos Salguero
6747851dac PT-63 WIP 2017-03-29 14:37:08 -03:00
Carlos Salguero
fac4be64b4 Merge branch '3.0' into issue-1642754 2017-03-28 14:08:51 -03:00
Carlos Salguero
1926bd60b4 PT-111 Collect MySQL variables 2017-03-28 14:03:40 -03:00
Carlos Salguero
be971eeee5 PT-80 Collect replication slave information 2017-03-27 17:30:06 -03:00
Jacob Bednarz
0271ba6a09 Turn off statement based binlog checks
For RDS we use row based replication however `pt-table-checksum` wants
to enforce statement and despite passing in the
`--no-check-binlog-format` flag, it would still run it (even though the
documentation suggests[1] it shouldn't). This appears to be a bug
because there is another binlog format check that is wrapped in
`$o->get('check-binlog-format')` slightly further down.

To resolve this, I've updated the remaining binlog format check in the
same expression as the one below and it now honours the
`--no-check-binlog-format` as expected.

[1]: https://www.percona.com/doc/percona-toolkit/3.0/pt-table-checksum.html#cmdoption-pt-table-checksum--[no]check-binlog-format
2017-03-24 08:54:38 +11:00
Carlos Salguero
4543847788 Updated Percona::Toolkit version to 3.0.2 2017-03-23 12:51:28 -03:00
Evgeniy Patlan
5fe708ebb0 Update version 2017-03-23 14:19:11 +02:00
guriandoro
4b0203370d Ran util/update command to add changes to bin
for tool in bin/*; do util/update-modules $tool SchemaIterator; done
2017-03-22 23:30:17 -04:00
guriandoro
32745039b5 Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750 2017-03-22 16:19:19 -04:00
Carlos Salguero
6f5585c493 Fixed pt-stalk mysql version comparisson 2017-03-22 16:57:53 -03:00
Carlos Salguero
a117e63e89 Added MySQL version check to stalk ps queries 2017-03-22 12:38:11 -03:00
guriandoro
cae47b4fb1 PT-90 Ran util/update command to add changes to bin
~/perldev/percona-toolkit $ ./util/update-modules bin/pt-stalk collect
2017-03-22 11:03:05 -04:00