1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-10 14:42:05 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
691de48ddb merge 51767 2010-03-16 10:50:45 +01:00
bd20de0136 Bug #51767 Implement --start-and-exit also for MTR v2
Added option and logic, bypass safe_process
Adapted after review comments
2010-03-16 10:45:32 +01:00
d6f8da6e8a merge 2010-02-20 11:23:12 +01:00
8e04f4c73c Bug #47978 timer : expired after 90 seconds
Problems occur after killing threads on Windows
Get rid of the timeout threads, implement simple timer in wait_any_timeout()
2009-11-24 09:12:48 +01:00
2b0be38266 Bug #48806 mysql-test-run.pl --help should work even in the absence of binaries
Searches for my_safe_process binary too early
Put this into a sub() and call it after examining options (incl. --help)
2009-11-17 12:13:22 +01:00
13cd7170cc WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00
dd1d0a4644 Bug #47663 mtr --parallel has weird output
Some output is written, some is not
Finally concluded it's a Perl bug: after running with parallel threads
  for a while, print suddenly ignores all but the first argument.
Workaround: concatenate all the arguments into one, except in output that
  only comes before we start running tests
2009-11-04 13:42:22 +01:00
a4252ac0c7 Bug #44511 MTR2: add an option not to kill other servers when one from the group exits
MTR would die as soon as one server terminates
Implemented --wait-all option and associated subroutine
2009-04-29 16:13:38 +02:00
0f7e647944 Bug #41649 sporadic pb failure: mtr stopped, message "TIMEOUT (1200 seconds), ABORTING."
Potentially infinite loop in check_expected_crash_and_restart 
Replace with finite loop and some additional logic
2009-04-08 14:54:36 +02:00
8179ed2649 Bug #43410 --skip-core-file has no effect if core file size is set
Would not prevent mysqld from core dumping
Passes --nocore arg to safe_process, which then sets rlimit core to 0 for child
2009-03-09 14:31:39 +01:00
8a0c984f01 Bug #40399 Please make mtr print stack trace after every failure
SIGABRT is sent to relevant processes after a timeout
2009-01-21 10:34:01 +01:00
260c3491a9 WL#41890 After review fixes, remove unecessary if's 2008-10-10 09:19:19 +02:00
2359d44c61 Merge 2008-10-08 22:30:56 +02:00
956c109c0f BUG#38559 Annoying cygwin problem fixed by resolving pid->winpid before kill instead of just after fork 2008-10-08 22:06:10 +02:00
5b8771ea3a WL4189 Active state perl fixes 2008-10-08 20:25:28 +02:00
870699c9f7 WL#4189 Only kill process that hasn't yet finished at end of mtr.pl. Improve debug printout 2008-10-06 19:52:26 +02:00
c431b23bae Fixup mtr_unique. Remove usage of ps and grep. Make it a module. Move _process_alive to Platform.pm. Rename opt_baseport to baseport, it's not an option 2008-08-10 19:46:43 +02:00
b18a64979a Run all check-warning and check-testcase in parallel, this also give the
oportunity to check if any other process fails during this.
Add possiblitiy to store "user_data" in a Safeprocess
Add function to get pid from a SafeProcess
2008-04-27 21:31:32 +02:00
ba900fe302 Add support for running in parallel 2008-04-24 13:02:53 +02:00
16d4936e3b Set verbose to off by default 2008-04-02 10:08:44 +02:00
d8a6ff5d60 Only use safe_kill if SAFE_WINPID is defined 2008-03-14 19:15:01 +01:00
1e39c3cc70 kickstart the fake cygwin process in case safe_kill fails
Loop twice over process to shutdown, first handle thise that has been
shutdown and then continue with the ones that have been killed
2008-03-14 14:01:12 +01:00
0d1d46c7e2 Find ndb binaries
Verbose SafeProcess.pm
2008-03-13 17:16:42 +01:00
0dba42cf7c Improve process kill on windows 2008-03-12 11:32:18 +01:00
20b3c15590 Improve error message dir -> croak 2008-03-10 16:37:37 +01:00
afefb65cea Print args in case requirement fails 2008-03-10 14:09:59 +01:00
3dc9779480 Convert to mixed_path under cywin, not native_path 2008-02-22 12:23:46 +01:00
bf65a61567 Use My::Platform
Put all path conversions in one file
Convert the --tmpdir  passed to "mysqld --verbose --help"
2008-02-20 14:55:30 +01:00
df9d0ad133 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-mtr
2008-01-18 00:06:30 +01:00
cf9053f199 Add C version of safe_process 2008-01-18 00:03:38 +01:00
a8117ca4f1 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-01-10 12:15:51 +01:00
b23110f2de Auto kill any children before exiting from process 2008-01-10 12:00:56 +01:00
36c69b9d6c Fix bug where local variable masked outer variable 2008-01-09 16:10:25 +01:00
926f7dec68 Windows fixeds for mtr 2007-12-19 12:58:06 +01:00
d918988baa WL#4189
- dynamic configuration support
 - safe process
 - cleanups
 - create new suite for fedarated
2007-12-12 18:19:24 +01:00