Commit Graph

3706 Commits

Author SHA1 Message Date
Daniel Nichter
b626531bbf Merge skip-load-data-file 2012-07-31 17:19:27 -06:00
Daniel Nichter
d19844b94c Debug when start-sandbox fails. 2012-07-31 17:15:55 -06:00
Daniel Nichter
c769f4df11 Update ComopareResults.t with new $can_load_data. 2012-07-31 16:34:38 -06:00
Daniel Nichter
8b15e2936b Wait longer for sandboxes to start. Dump their info better if they don't. 2012-07-31 16:30:52 -06:00
Daniel Nichter
5754649a39 Add util/check-load-data 2012-07-31 15:57:50 -06:00
Daniel Nichter
010617ed65 Check LOAD DATA using Perl. 2012-07-31 15:54:44 -06:00
Daniel Nichter
570b26de20 Remove LOAD DATA check from pt-archiver and pt-upgrade. Make test-env check if LOAD DATA works and PerconaTest export . Rewrite how pt-archiver/t/bulk_insert.t conditionalizes on LOAD DATA working. 2012-07-31 15:37:02 -06:00
Daniel Nichter
702d475eda Set LANG so sort acts as expected and Jenkins is happy. 2012-07-31 10:49:33 -06:00
Brian Fraser fraserb@gmail.com
b5191a310a Fixes as per Daniel's review; Removed the --quiet usage inpt-osc's nibble_is_safe, as it was ptc cruft 2012-07-31 13:33:30 -03:00
Brian Fraser fraserb@gmail.com
e7d778e4ee Resolved a pending merge conflict.
The fix for https://bugs.launchpad.net/percona-toolkit/+bug/916168
was affecting the same code as this fix.
This commit mimicks that fix, and removes the privs checks.
2012-07-31 12:26:13 -03:00
Brian Fraser fraserb@gmail.com
29b2e5d19b pt-table-sync: Use single quotes in SHOW VARIABLES LIKE 2012-07-31 06:46:13 -03:00
Brian Fraser fraserb@gmail.com
a94da84b27 Changes from Daniel's review.
Some wording changes, also fatalized two warnings, and some test
changes.
2012-07-30 19:10:45 -03:00
Brian Fraser fraserb@gmail.com
62c74e1e76 Previous commit left an unfinished comment 2012-07-30 19:08:37 -03:00
Brian Fraser fraserb@gmail.com
1de45b70be pt-osc: Change --quiet back and remove the quietness checks 2012-07-30 18:35:24 -03:00
Brian Fraser fraserb@gmail.com
ba6253545d Merged fix-821703-processlist-null-state 2012-07-30 16:48:15 -03:00
Brian Fraser fraserb@gmail.com
3b1f3dbbe5 Fix for 977226: pt-summary doesn't detect LSI RAID control. Patch provided by Dave Juntgen (djuntgen) 2012-07-30 12:36:55 -03:00
Brian Fraser fraserb@gmail.com
c7b4a6ef28 Fix for 940733: pt-ioprofile leaves behind temp directory 2012-07-30 11:56:42 -03:00
Brian Fraser fraserb@gmail.com
b93856a37d Fix for 903510: pt-tcp-model throws an error in --type=requests mode on empty file 2012-07-30 11:52:53 -03:00
Brian Fraser fraserb@gmail.com
4c5678876d Fix for bug 889739: pt-config-diff doesn't diff quoted strings properly 2012-07-30 11:50:42 -03:00
Brian Fraser fraserb@gmail.com
2192eb9e4e pt-va: Delimit sentences by . or ? 2012-07-30 11:47:59 -03:00
Brian Fraser fraserb@gmail.com
43708d7b65 VariableAdvisorRules: Check that log_bin is ON instead of doing log_bin ? 1 : 0 2012-07-30 11:44:28 -03:00
Brian Fraser fraserb@gmail.com
05f923545c pt-osc: Make --quiet behave like in the other tools 2012-07-30 11:41:09 -03:00
Brian Fraser fraserb@gmail.com
2f0812fb33 Merged ubuntu-12-64-issues 2012-07-30 11:30:05 -03:00
Daniel Nichter
a7a4ff27aa Merge fix-pt-index-usage-db-bug-1028614 2012-07-28 14:55:35 -06:00
Daniel Nichter
8b079060ed Use si_dbh for SchemaIterator instead of the main dbh. 2012-07-28 14:41:51 -06:00
Daniel Nichter
41c8aa001d Failing test for --database bug 1028614. 2012-07-28 14:17:28 -06:00
Brian Fraser
ac015477af Bug 1022622: pt-config-diff is case-sensitive 2012-07-27 20:12:45 -03:00
Brian Fraser
192f38498c Removed the charset munging and made a note in the pt-archiver docs that the only legal charsets are those known by MySQL 2012-07-27 16:09:32 -03:00
Daniel Nichter
2f3025c05d Finish merging fix-ptc-diffs-bug-1030031 2012-07-27 12:04:46 -06:00
Daniel Nichter
a44b77eb2f Merge part of fix-ptc-diffs-bug-1030031 2012-07-27 12:03:10 -06:00
Daniel Nichter
c94d0ee186 Add code comment to new %diff_chunks code. 2012-07-27 11:54:48 -06:00
Daniel Nichter
0fc84ff7c0 Switch bugs.t to use done_testing. 2012-07-27 11:52:24 -06:00
Daniel Nichter
c25c79e119 Only iterate diffs if there are some. 2012-07-27 11:35:27 -06:00
Daniel Nichter
203b0a9cb6 Report DIFFS as the true number of unique chunks that differ across all slaves. 2012-07-27 11:30:33 -06:00
Daniel Nichter
1875c92674 Partial bug fix: report max diffs, not just last slave's diffs. Still needs fixing to report count of all unique chunk# diffs. 2012-07-27 11:16:41 -06:00
Daniel Nichter
a07dc3c146 Merge fix-pt-osc-empty-table-bug-1020997 2012-07-26 16:49:40 -06:00
Daniel Nichter
2290827eee Stop nibbling if chunking but not first lower boundary because table is empty. Print test debug via diag(). 2012-07-26 16:44:24 -06:00
Daniel Nichter
56f1067908 Merge test-pt-archiver-sql-log-bug-903387. 2012-07-26 14:29:27 -06:00
Daniel Nichter
b59040eb83 Test that pt-archiver DSN b=1 causes SET SQL_LOG_BIN=0. 2012-07-26 14:24:07 -06:00
Daniel Nichter
997574e503 Merge set-pts-tx-mode-bug-869005. 2012-07-25 16:36:32 -06:00
Daniel Nichter
00c0dca859 Fix syntax error. 2012-07-25 15:29:24 -06:00
Daniel Nichter
41f7db8ca7 Merge lp:~hartmut-php/percona-toolkit/bug-869005 2012-07-25 15:22:37 -06:00
Brian Fraser
776798b3b9 Make pt-table-checksum always create the database/table it needs 2012-07-25 17:10:30 -03:00
Daniel Nichter
eedcc82d73 Merge fix-pt-sift-var-bug-1022851. 2012-07-23 16:48:51 -06:00
Daniel Nichter
4f0661c102 Suppress ls output when it fails. Handle missing diskstats and vmstat. Shorten synopsis. 2012-07-23 16:39:49 -06:00
Daniel Nichter
8742381029 Clean up pt-sift: capture signals, verify and simplify arg processing, improve error messages and docs, exit if there are no pt-stalk files. 2012-07-23 16:16:00 -06:00
Daniel Nichter
b90a375cb5 Define PREFIX is arg is a dir. 2012-07-23 14:13:35 -06:00
Brian Fraser
0d26097f31 t/pt-table-sync/wait.t: use wait_until() instead of sleep() 2012-07-23 13:48:05 -03:00
Brian Fraser
a948014991 t/lib/Daemon.t: Tweak the tests to hopefully avoid white smoke 2012-07-23 12:28:55 -03:00
Brian Fraser
a1f1168ab4 t/lib/MasterSlave.t: Check that recurse_to_slaves gets all three slaves, or give a diagnostic 2012-07-23 12:28:25 -03:00