mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
0ff8d48661
can be started several times; monitor interval must be > 2sec mysql-test/r/im_daemon_life_cycle.result: Updated result file. mysql-test/r/im_life_cycle.result: Updated result file. mysql-test/r/im_utils.result: Updated result file. mysql-test/t/im_daemon_life_cycle-im.opt: Set monitoring interval to 1 second in order to: - be consistent with 5.1; - speed up tests; mysql-test/t/im_daemon_life_cycle.imtest: 1. Use wait_for_start.sh script to minimize chance of race condition. 2. Polishing. mysql-test/t/im_life_cycle.imtest: 1. Use wait_for_start.sh and wait_for_stop.sh scripts to minimize chance of race condition; 2. Remove some statements, because there is no way now to stabilize their output. 3. Polishing; mysql-test/t/im_utils.imtest: 1. Use wait_for_start.sh script to minimize chance of race condition. 2. Polishing. mysql-test/t/kill_n_check.sh: 1. Make timeout configurable by command-line argument; 2. Change algorithm of waiting for process to restart to be more robust. mysql-test/t/im_life_cycle-im.opt: Set monitoring interval to 1 second in order to: - be consistent with 5.1; - speed up tests; mysql-test/t/im_utils-im.opt: Set monitoring interval to 1 second in order to: - be consistent with 5.1; - speed up tests; mysql-test/t/wait_for_process.sh: A new helper script, intended to be used instead of dummy "sleep" when waiting for some process to start or stop.
94 lines
1.6 KiB
Text
94 lines
1.6 KiB
Text
Success: the process has been started.
|
|
SHOW INSTANCES;
|
|
instance_name status
|
|
mysqld1 online
|
|
mysqld2 offline
|
|
SHOW INSTANCE OPTIONS mysqld1;
|
|
option_name value
|
|
instance_name VALUE
|
|
mysqld-path VALUE
|
|
socket VALUE
|
|
pid-file VALUE
|
|
port VALUE
|
|
datadir VALUE
|
|
log VALUE
|
|
log-error VALUE
|
|
log-slow-queries VALUE
|
|
language VALUE
|
|
character-sets-dir VALUE
|
|
basedir VALUE
|
|
server_id VALUE
|
|
skip-stack-trace VALUE
|
|
skip-innodb VALUE
|
|
skip-bdb VALUE
|
|
skip-ndbcluster VALUE
|
|
SHOW INSTANCE OPTIONS mysqld2;
|
|
option_name value
|
|
instance_name VALUE
|
|
mysqld-path VALUE
|
|
nonguarded VALUE
|
|
socket VALUE
|
|
pid-file VALUE
|
|
port VALUE
|
|
datadir VALUE
|
|
log VALUE
|
|
log-error VALUE
|
|
log-slow-queries VALUE
|
|
language VALUE
|
|
character-sets-dir VALUE
|
|
basedir VALUE
|
|
server_id VALUE
|
|
skip-stack-trace VALUE
|
|
skip-innodb VALUE
|
|
skip-bdb VALUE
|
|
skip-ndbcluster VALUE
|
|
START INSTANCE mysqld2;
|
|
Success: the process has been started.
|
|
STOP INSTANCE mysqld2;
|
|
Success: the process has been stopped.
|
|
SHOW mysqld1 LOG FILES;
|
|
Logfile Path File size
|
|
ERROR LOG PATH FILE_SIZE
|
|
GENERAL LOG PATH FILE_SIZE
|
|
SLOW LOG PATH FILE_SIZE
|
|
SHOW mysqld2 LOG FILES;
|
|
Logfile Path File size
|
|
ERROR LOG PATH FILE_SIZE
|
|
GENERAL LOG PATH FILE_SIZE
|
|
SLOW LOG PATH FILE_SIZE
|
|
SHOW mysqld1 LOG ERROR 10;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld1 LOG SLOW 10;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld1 LOG GENERAL 10;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld1 LOG ERROR 10, 2;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld1 LOG SLOW 10, 2;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld1 LOG GENERAL 10, 2;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld2 LOG ERROR 10;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld2 LOG SLOW 10;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld2 LOG GENERAL 10;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld2 LOG ERROR 10, 2;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld2 LOG SLOW 10, 2;
|
|
Log
|
|
LOG_DATA
|
|
SHOW mysqld2 LOG GENERAL 10, 2;
|
|
Log
|
|
LOG_DATA
|