mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@ -3949,6 +3949,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