mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.2 into 10.3
This commit is contained in:
@ -3882,6 +3882,16 @@ err:
|
||||
mi->unlock_slave_threads();
|
||||
if (ret == FALSE)
|
||||
my_ok(thd);
|
||||
else
|
||||
{
|
||||
/*
|
||||
Depending on where CHANGE MASTER failed, the logs may be waiting to be
|
||||
reopened. This would break future log updates and CHANGE MASTER calls.
|
||||
`try_fix_log_state()` allows the relay log to fix its state to no longer
|
||||
expect to be reopened.
|
||||
*/
|
||||
mi->rli.relay_log.try_fix_log_state();
|
||||
}
|
||||
DBUG_RETURN(ret);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user