mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Temporary re-enable the "always restart slave"
This commit is contained in:
@ -3007,6 +3007,17 @@ sub server_need_restart {
|
||||
}
|
||||
}
|
||||
|
||||
# Temporary re-enable the "always restart slave" hack
|
||||
# this should be removed asap, but will require that each rpl
|
||||
# testcase cleanup better after itself - ie. stop and reset
|
||||
# replication
|
||||
# Use the "#!use-slave-opt" marker to detect that this is a "slave"
|
||||
# server
|
||||
if ( $server->option("#!use-slave-opt") ){
|
||||
mtr_verbose_restart($server, "Always restart slave(s)");
|
||||
return 1;
|
||||
}
|
||||
|
||||
my $is_mysqld= grep ($server eq $_, mysqlds());
|
||||
if ($is_mysqld)
|
||||
{
|
||||
|
Reference in New Issue
Block a user