Commit Graph

2669 Commits

Author SHA1 Message Date
Daniel Nichter
362d80f7e8 Fix NULL vs. NULL comparison. 2013-06-26 12:26:34 -07:00
Daniel Nichter
cefc0d3065 Add failing unit test. 2013-06-26 12:09:43 -07:00
Daniel Nichter
61a0770972 Add failing test. 2013-06-26 12:07:06 -07:00
Daniel Nichter
0d96d5aafa Merge bzr merge lp:~dveeden/percona-toolkit/bug1172317. 2013-06-26 11:40:23 -07:00
Daniel Nichter
2c46d7b9d5 Merge fix-pt-osc-tbl-charset-bug-1171653. 2013-06-26 10:48:55 -07:00
Daniel Nichter
1346757702 Test that the new table's charset can be changed. 2013-06-26 10:47:19 -07:00
Daniel Nichter
57f35b22b3 Test that new table inherits the old table's charset. Clean up bugs.t. 2013-06-26 10:14:46 -07:00
Daniel Nichter
43ebd47263 Merge fix-ptc-ts-col-bug-1163735. 2013-06-25 18:57:30 -07:00
Daniel Nichter
70f5c17bc4 Fix ptc by making ts column explicitly NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP. 2013-06-25 18:30:12 -07:00
Daniel Nichter
302a9a21a1 Add failing test in settings.t. Add EXTRA_DEFAULTS_FILE to start-sandbox so a sandbox can be started with any additional settings, like explicit_defaults_for_timestamp. 2013-06-25 18:18:29 -07:00
Daniel Nichter
88ca03473c Merge fix-deep-recursion-bug-1136559. 2013-06-25 16:36:36 -07:00
Daniel Nichter
301afe2f34 Update SchemaIterator in all tools. 2013-06-25 16:30:23 -07:00
Daniel Nichter
e5d9da5cff Fix SchemaIterator by replacing recursion with double nested while loops. 2013-06-25 16:25:58 -07:00
Daniel Nichter
bddc889f97 Add failing test and samples for deep recursion. 2013-06-25 16:15:50 -07:00
Daniel Nichter
1d1fae9375 Merge fix-set-vars-bug-1182856. 2013-06-25 15:37:57 -07:00
Daniel Nichter
0ec803417d Update OptionParser in all tools. 2013-06-25 15:32:19 -07:00
Daniel Nichter
591a49557c Fix OptionParser: check that val is defined, not true. 2013-06-25 15:31:39 -07:00
Daniel Nichter
bcc6da2919 Failing test for --set-vars var=0. 2013-06-25 15:28:48 -07:00
Daniel Nichter
68511cc926 Merge pt-osc-ts-output. 2013-06-25 13:02:35 -07:00
Daniel Nichter
00a2fc3e23 Add timestamp to lines indicating actions that might take awhile, e.g. "Dropping triggers...". 2013-06-25 12:52:03 -07:00
Daniel Nichter
8f78050570 Merge release-2.2.3. 2.2.3 2013-06-19 14:23:55 -07:00
Daniel Nichter
ca2774cbd3 Pre-build updates. 2013-06-17 08:08:46 +01:00
Daniel Nichter
35f83428b1 Update pqd test samples. 2013-06-16 23:40:08 -07:00
Daniel Nichter
88280e321d Update Percona::Toolkit in all tools. 2013-06-16 23:25:20 -07:00
Daniel Nichter
0736427bbf Megre pt-agent branch. 2013-06-16 23:23:11 -07:00
Daniel Nichter
7c674025e7 Update Changelog. 2013-06-16 23:19:07 -07:00
Daniel Nichter
dc8fb90173 Fix it again, again. 2013-06-16 23:12:09 -07:00
Daniel Nichter
4f3fa288b1 Fix it again--the pitfalls of working so long and late. 2013-06-16 23:06:06 -07:00
Daniel Nichter
c2af32cd0f Fix Logger error spamming. 2013-06-16 22:59:43 -07:00
Daniel Nichter
61bf5c5e24 Change the error spam threshold from 100 to 10. 2013-06-16 22:54:07 -07:00
Daniel Nichter
9215fd5a02 Add 2 safeguards to Agent::Logger to avoid excessive memory usage and error spamming. 2013-06-16 22:37:42 -07:00
Daniel Nichter
1b0431301a Fix typo in error message. 2013-06-16 22:06:22 -07:00
Daniel Nichter
321eee1f67 Finish updating/fixing tests. 2013-06-16 21:01:30 -07:00
Daniel Nichter
09eb28cca8 Update send_data.t samples. 2013-06-16 20:18:33 -07:00
Daniel Nichter
d14951ae5f Make entry_links an arg to send_data() and run_services. Start updating/fixing tests. Add lib/Percona/Test/Mock/AgentLogger.pm. 2013-06-16 17:28:18 -07:00
Daniel Nichter
58736c7b0e Set v2.2 instead of 3.0. 2013-06-16 15:19:42 -07:00
Daniel Nichter
459696d4f9 Fix --install. Support output=append:FILE. 2013-06-16 15:03:05 -07:00
Daniel Nichter
9c559df77e Change __TRASH_FILE__ to just __TRASH__. Enforce 15M max data file size. Clean up the code. Rename check_deps() to missing_perl_module_deps(). 2013-06-16 14:20:02 -07:00
Daniel Nichter
21cb6c87d4 Change exit 252 to 200 like HTTP 200 OK because this is an OK exit for meta-services. 2013-06-15 20:32:54 -07:00
Daniel Nichter
8dc5cf416e Fix stop_service(). 2013-06-15 20:06:13 -07:00
Daniel Nichter
a968bff97d Fix typo. 2013-06-15 19:51:37 -07:00
Daniel Nichter
9e67c8a48b Fix serious bug: run STOP-service not service in stop_service(), else a fork-bomb ensues. Make run_service() write PID-specific PIDs, then check for too_many_agents() first thing on start. 2013-06-15 19:44:52 -07:00
Daniel Nichter
c35e38ab3b Check for crontab during --install. 2013-06-15 19:06:42 -07:00
Daniel Nichter
a01af7e331 Handle meta-service exit 252 == exit 0 in parent. 2013-06-15 18:38:12 -07:00
Daniel Nichter
46c979d284 Keep no-log-api in .pt-agent.conf. 2013-06-15 18:18:22 -07:00
Daniel Nichter
5d0ccf647d Last task on exit 253 and 254. 2013-06-15 18:12:25 -07:00
Daniel Nichter
f2346bf550 Use 253 not 200. 2013-06-15 17:47:36 -07:00
Daniel Nichter
77851d666b Handle exit status 200 and 254. 2013-06-15 17:37:26 -07:00
Daniel Nichter
0fa7aa4ddb Add --install-options, handle install on slave, use /etc/percona/agent/my.cnf if it exists. 2013-06-15 17:06:44 -07:00
Daniel Nichter
b29c7a8064 Only try twice to connect to MySQL for run_service(), then log an error instead of a warning. 2013-06-15 13:24:42 -07:00