Brian Fraser
ae1ea9b703
Merged collect-all-innodb-lock-data
2012-09-13 20:58:14 -03:00
Brian Fraser
ee338f7ceb
v-c: Re-enable https by default, make --version-check take an optional protocol argument
2012-09-13 10:39:04 -03:00
Daniel Nichter
0e3eac65a0
Handle MySQL instance ID for MySQL 5.0.
2012-08-31 10:01:12 -06:00
Brian Fraser
8654ac0819
DSNParser: Always add mysql_local_infile=1 to the dsn string to enable client-side LOCAL INFILE
2012-08-30 23:46:06 -03:00
Daniel Nichter
e1bd108aa4
Collect INNODB_TRX, INNODB_LOCKS, and INNODB_LOCK_WAITS. Fix update-module so it works again with Bash tools.
2012-08-30 15:40:09 -06:00
Daniel Nichter
3ddd074b54
Merge 2.1 at r386.
2012-08-29 16:35:17 -06:00
Daniel Nichter
26ca0281b5
Use --version-check instead (so it's _not_ on by default; it must be specified).
2012-08-29 14:23:41 -06:00
Brian Fraser
289035a303
Merged fix-1038995-bash-options-starting-with-no
2012-08-28 22:05:33 -03:00
Daniel Nichter
865cca3ea9
Merge v-c-update
2012-08-28 16:56:46 -06:00
Daniel Nichter
a3950411b9
Add back PerconaTest::slurp_file(). Put in scope in pt-index-usage. Sort MySQL instance IDs for testing. Wait for pid file in pt-heartbeat/basics.t.
2012-08-28 15:28:34 -06:00
Daniel Nichter
98338b6508
Simplify how Pingback handles MySQL instances. Remove Percona::Toolkit::slurp_file() because it was causing 'sub redefined' errors, probably due to PerconaTest::slurp_file(). Add more PTVCDEBUG statements.
2012-08-27 17:10:42 -06:00
Daniel Nichter
a08bf4c4fc
Add code comments. Make Pingback.t tests more explicity. Don't '1 while unlink file'. Remove get_mysql_status() stub.
2012-08-27 15:19:35 -06:00
Brian Fraser fraserb@gmail.com
acc7c0296b
Merged fix-952722-pt-summary-fio-cards
2012-08-27 15:37:43 -03:00
Brian Fraser fraserb@gmail.com
031cc1751c
ChangeHandler: Don't hexify text columns.
...
As far as I understand, it doesn't make any sense to hexify text
columns; they break in many ways (you can't roundtrip the UTFs,
quote_val gets the hex quoting wrong, etc) and in any case,
the maatkit bugs about the feature are all about blob/binary
columns.
And, while a perilous excercise of genetic programming, removing
it didn't break any pt-table-sync tests, so this commit does
exactly that.
2012-08-27 15:04:51 -03:00
Daniel Nichter
3079f72935
Fix quote_val() calls in TableSyncNibble.pm by removing 2nd arg which was ignored anyway. Use more real tbl_struct in TableSyncGroupBy.t so auto-vivification doesn't cause sort_cols() to print the expected results. Remove have_all_privs() tests from TableSyncer.t.
2012-08-27 10:42:39 -06:00
Brian Fraser
b84ac535d2
Merged fix-1038276-changehandler-hex-looking-vals
2012-08-24 20:26:04 -03:00
Brian Fraser fraserb@gmail.com
548e01fddd
Fix for 903229: pt-mysql-summary incorrectly categorizes databases
2012-08-24 20:18:36 -03:00
Brian Fraser
d53fadff74
Merged quote-tr-arguments
2012-08-24 20:02:48 -03:00
Brian Fraser
e621b9cca9
Merged tablesync-precedence-issue
2012-08-24 19:58:16 -03:00
Brian Fraser
64f13e88da
Merged fix-1035311-group-by-sample-devices-regex-interaction
2012-08-24 19:57:01 -03:00
Brian Fraser
d3ad517ce9
Merged fix-930693-changehandler-whitespace-text-cols
2012-08-24 19:54:05 -03:00
Brian Fraser
ee71455900
Merged fix-1037211-distill-lowercase-lock-tables
2012-08-24 19:52:26 -03:00
Brian Fraser
8d6f2c97e3
Merged fix-1036747-remove-pts-priv-checks
2012-08-24 19:51:40 -03:00
Brian Fraser
4eda3039dd
Merged fix-1034717-divison-by-zero-base-1
2012-08-24 19:50:34 -03:00
Brian Fraser
ed7b497590
Report Rated PBW for fio cards
2012-08-24 19:39:58 -03:00
Brian Fraser
9f79d4b7ba
v-c: Updated to identify and report every instance, and to skip instances already version-checked that day
2012-08-24 19:09:59 -03:00
Daniel Nichter
d016b170b3
Merge ptc-run-time
2012-08-24 15:27:11 -06:00
Brian Fraser
878528b859
Fixed report_fio_minus_a and fio_status_minus_a to handle ioMemory and report internal temp, also fixed some bugs
2012-08-24 18:23:30 -03:00
Brian Fraser
24ae24a64e
Fix for 952722: pt-summary to show information about Fusion-io cards
2012-08-24 17:01:47 -03:00
Daniel Nichter
1bf0cfa08a
Merge sh-not-bash-bug-1035260
2012-08-24 11:43:05 -06:00
Daniel Nichter
866c68df9c
Merge right-sth-bug-1039184
2012-08-24 10:52:21 -06:00
Brian Fraser
36a0dff6ee
Pingback: Update the file-checking function
2012-08-24 13:14:46 -03:00
Brian Fraser
c444384c6c
Fix for 1009510 and 1039569: pt-table-checksum doesn't check that tables exist on all replicas / shouldn't die if it can't create db/table
2012-08-23 03:14:14 -03:00
Brian Fraser
5ddef54fc8
PerconaTest::full_output: Use different files for STDERR and STDOUT to avoid overwriting data
2012-08-23 03:12:21 -03:00
Daniel Nichter
639f47eb70
Add t/pt-archiver/version_check.t, v-c integration tests. Don't exit early if PTDEBUG && PTVCDEBUG (don't know what state the tool may be in).
2012-08-22 16:20:00 -06:00
Daniel Nichter
66f1bdf403
Change staging.upgrade.percona.com to $ENV{PERCONA_VERSION_CHECK_URL} || http://v.percona.com .
2012-08-22 15:10:33 -06:00
Daniel Nichter
7cd73be614
Merge 2.1 r364 (has lots of test fixes).
2012-08-22 15:00:19 -06:00
Brian Fraser
daab851dc1
TableSyncer: precedence and output issue in TableSyncer
2012-08-22 17:10:59 -03:00
Brian Fraser
d3eabbd511
Fix for the first bug in 1034717: Illegal division by zero if base == 1
2012-08-22 17:03:35 -03:00
Brian Fraser
e52ca00348
Fix for 1038276: ChangeHandler doesn't quote varchar columns with hex-looking values
2012-08-22 16:19:43 -03:00
Daniel Nichter
a776646673
Strip newlines from values.
2012-08-22 08:20:59 -06:00
Daniel Nichter
ee583ba729
Add $ENV{PERCONA_VERSION_CHECK}=0 to PerconaTest so tests don't version-check. Implement v-c in half the tools. Make util/update-modules clean up its temp files.
2012-08-21 16:15:44 -06:00
Daniel Nichter
a95aa2b3bc
Put everything in Pingback::version_check(). Change HTTP::Micro to HTTPMicro in pingback(). Simplify time_to_check() a little and add more debug. Fix Pingback.t now that client response doesn't have TYPE and no response causes die.
2012-08-21 15:06:28 -06:00
Brian Fraser fraserb@gmail.com
e5b99fb41c
Pingback::_touch should update the [ma]time of the file
2012-08-21 17:00:32 -03:00
Daniel Nichter
2d41598ea4
Add PTVCDEBUG and die instead of returning in pingback() so PTVCDEBUG can report better info.
2012-08-21 13:54:48 -06:00
Brian Fraser fraserb@gmail.com
01937e6d9f
Implemented Pingback::time_to_check()
2012-08-21 16:50:12 -03:00
Brian Fraser fraserb@gmail.com
615c5ad508
Fix several test failures by doing s/HTTP::Micro/HTTPMicro/
2012-08-21 14:37:10 -03:00
Daniel Nichter
6397b3d897
Handle undef values in reports, and eval all reports.
2012-08-21 09:24:19 -06:00
Daniel Nichter
8db5b77a4e
Change HTTPMicro to HTTP::Micro in Pingback to avoid 'subroutine redefined' errors.
2012-08-21 08:19:52 -06:00
Brian Fraser fraserb@gmail.com
c2b006eeaf
Fix for 1038995: pt-stalk notify-by-email fails
2012-08-20 19:22:31 -03:00