Commit Graph

252 Commits

Author SHA1 Message Date
Baron Schwartz
eb1cc3da5e fix nondeterministic wait_for_master test 2012-06-03 22:18:44 -04:00
Baron Schwartz
48f642551e fix some problems that happen when there are many mysqld instances 2012-06-03 20:53:57 -04:00
Baron Schwartz
da86c409da schema for mysql5.5 2012-06-03 20:53:52 -04:00
Daniel Nichter
e8d9781123 Merge changes. 2012-06-03 14:51:03 -07:00
Daniel Nichter
696a3b5e68 Fix mem/file size shortening in pt-summary and pt-mysql-summary. 2012-06-03 14:49:35 -07:00
Baron Schwartz
9569e0d317 Fix schema tests for mySQL 5.5 changes 2012-06-03 17:47:32 -04:00
Baron Schwartz
219ff6b49b Fix the column size information for MySQL 5.5 changes 2012-06-03 17:30:24 -04:00
Baron Schwartz
6cc17a73c2 A few miscellaneous changes, including a fix for metadata locking and wipe_clean in Sandbox.pm 2012-06-03 17:20:12 -04:00
Brian Fraser fraserb@gmail.com
614befac1d Update the ordering of SchemaIterator's samples. 2012-06-03 16:50:08 -03:00
Daniel Nichter
a64bf961e8 Fix test counts. 2012-06-03 15:14:30 -04:00
Daniel Nichter
a2810a0ec1 Remove duplicate calls to Sandbox::ok(). 2012-06-03 14:38:21 -04:00
Baron Schwartz
de4064f575 make NibbleIterator.t more flexible for differences in EXPLAIN estimates 2012-06-03 14:13:35 -04:00
Daniel Nichter
bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04:00
Daniel Nichter
a0b54b145d Merge 2.1. 2012-06-03 13:29:02 -04:00
Daniel Nichter
7e880b0808 Call Sandbox::box() in all tests that use Sandbox. 2012-06-03 12:59:56 -04:00
Daniel Nichter
09ddcd641e Merge advisor-json-output and clean up pt-query-advisor docs. 2012-06-01 09:13:11 -06:00
Brian Fraser fraserb@gmail.com
7fb28b0081 Name the tests for 923896's fix 2012-05-30 11:36:44 -03:00
Brian Fraser fraserb@gmail.com
20d6ccff9e Fix for 923896 2012-05-27 23:28:35 -03:00
Daniel Nichter
fcd8958fb7 Validate --max|critical-load early and strongly, and check that the var exists and is defined. 2012-05-25 15:27:23 -06:00
Daniel Nichter
bbe6125d8f Validate --max|critical-load (work in progress). 2012-05-25 12:15:11 -06:00
Daniel Nichter
4b6fe95c6c Handle MySQL 5.5 named values for concurrent_insert. 2012-05-24 14:52:11 -06:00
Daniel Nichter
026d95ac24 Separate DSN parts using escaped commas instead so bareword values work. 2012-05-24 10:56:04 -06:00
Daniel Nichter
15146353f9 Use regex to split DSN parts to allow commas in values. 2012-05-24 10:32:39 -06:00
Daniel Nichter
491c076e75 Implement retry_on_error for Pipeline processes. Retry iteration proc twice, then fail completely. Fix mirror.t. 2012-05-23 16:07:05 -06:00
Daniel Nichter
e969d8d9f7 Implement and test --recursion-method=none in MasterSlave.pm and pt-table-checksum. 2012-05-17 08:11:30 -06:00
Daniel Nichter
350aa3a344 Merge fix-dupe-key-bug-894140. 2012-05-14 19:10:50 -06:00
Daniel Nichter
e932c89d9e Fix bug that caused not all "right keys" to be compared in certain cases. 2012-05-14 19:05:32 -06:00
Daniel Nichter
5a77e8c09c Fix scrolling header for --group-by=all. 2012-05-10 14:06:52 -07:00
Daniel Nichter
f4957ba911 Use --chunk-size-limit || 1 for checking if a table can be done in one chunk to avoid chunking empty tables. Checksums for empty tables are now written. 2012-05-10 09:55:42 -06:00
Daniel Nichter
884d02bc2a Lowercase index from EXPLAIN (unless it's PRIMARY) to match lowercase ident names from TableParser::parser(). 2012-05-08 16:51:35 -06:00
Daniel Nichter
9bb2311fc2 Add failing unit test. 2012-05-08 12:07:40 -06:00
Daniel Nichter
cc80f278d5 Code comment why MiB, GiB, etc. are used in shorten() and update that func in pt-summary and pt-mysql-summary. 2012-05-07 16:38:30 -06:00
Daniel Nichter
fdfd305dc5 Simplify and fix report_formatting::shorten(), and add Petabyte unit (in case it's needed). Update affected test samples. Add T_DIR to util/test-bash-functions. 2012-05-07 12:16:24 -06:00
Daniel Nichter
11bfeba0ea Remove unused developer test file. 2012-04-03 12:16:58 -06:00
Daniel Nichter
10a92ac6da Fix SchemaIterator.t by updating and adding 5.0 samples. 2012-04-03 10:38:53 -07:00
Daniel Nichter
c3b99d17a1 Add func to col ident struct to fix QueryAdvisorRules.t. 2012-04-03 11:03:17 -06:00
Daniel Nichter
dcec863988 Convert TableUsage.t from Maatkit to Percona Toolkit. 2012-04-03 10:47:01 -06:00
Daniel Nichter
0286631514 Merge summary-tools-2.1. 2012-04-03 10:14:55 -06:00
Daniel Nichter
b0b65fd8fd Merge fix-log-parser-writer-bug-963225. 2012-04-03 09:56:11 -06:00
Daniel Nichter
0089f31a35 Merge pt-osc-2.1. Fix NibbleItertor.pm to work with OobNibbleIterator when resuming at oob boundaries (t/pt-table-checksum/resume.t was failing). 2012-04-03 09:33:10 -06:00
Brian Fraser fraserb@gmail.com
c0dedd19bf - section() revamp
- Redirect STDERR for the collection part in both tools
- rm_tempdir in sigtrap
- A part of pt-mysql-summary still depended on the system being run,
  rather than the samples being read. Now it works properly.
2012-04-02 19:25:17 -03:00
Brian Fraser fraserb@gmail.com
6dbbd6de3b The previous merge went a bit wrong, and left the libraries unsynced with the tools; This commit fixes it. 2012-04-02 13:36:17 -03:00
Brian Fraser fraserb@gmail.com
761f8a5aac Merge more of Baron's changes, also re-implement the MySQL Executables section
Plus other bugfixes.
2012-03-30 23:00:57 -03:00
Daniel Nichter
2bae569429 Don't use TABLE STATUS, use CREATE TABLE instead for the table's engine. 2012-03-30 18:46:08 -06:00
Daniel Nichter
34602e89fe Add pt-table-usage, copied and converted from mk-table-usage. 2012-03-30 16:45:10 -06:00
Daniel Nichter
4300f2908b Add pt-fingerprint. 2012-03-30 16:07:37 -06:00
Brian Fraser fraserb@gmail.com
562a550a39 Fixes 2012-03-30 17:23:55 -03:00
Daniel Nichter
94d9483d03 Make vmstat, iostat, and mpstat run for --run-time not --interval. 2012-03-30 11:35:32 -06:00
Brian Fraser fraserb@gmail.com
33a4096663 Fix CPU_ARCH collection for Linux 2012-03-30 13:44:21 -03:00
Daniel Nichter
688570de79 Quote chunk col in char chunk sql. 2012-03-30 10:31:36 -06:00