mirror of
https://github.com/MariaDB/server.git
synced 2025-04-07 07:45:33 +02:00

When a slave does not start up the slave threads on restart, but not reporting anything to the error log about startup failures either, this can be due to `skip-slave-start` being set in the config file(s) or on the command line (and most likely is). Reviewed-by: Sergei Golubchik <serg@mariadb.org>
14 lines
587 B
Text
14 lines
587 B
Text
# Test `--skip-slave-start`
|
|
|
|
CHANGE MASTER TO
|
|
master_host='127.0.0.1', master_user='root', master_ssl_verify_server_cert=0;
|
|
|
|
--let $restart_parameters= --skip-slave-start
|
|
--source include/restart_mysqld.inc # not_embedded
|
|
# Outside of `--skip-slave-start`, `mariadbd` will start the CHANGE MASTER TO
|
|
# above when restarting even though it had no explicit START REPLICA.
|
|
|
|
--let SEARCH_FILE= `SELECT @@log_error`
|
|
--let SEARCH_PATTERN=\[Note\] .*skip-slave-start.*
|
|
--source include/search_pattern_in_file.inc
|
|
SELECT Slave_SQL_Running, Slave_IO_Running FROM INFORMATION_SCHEMA.SLAVE_STATUS;
|