mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
Temporary re-enable the "always restart slave"
This commit is contained in:
parent
be3371d33a
commit
e549ec7f6a
1 changed files with 11 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue