MDEV-26511 - Do not change purge thread count during bootstrap
Apparently, in bootstrap this could crash when creating new THDs
This commit is contained in:
parent
e62120cec7
commit
1fcd8db776
@ -2139,7 +2139,7 @@ ulint srv_get_task_queue_length()
|
||||
void srv_purge_shutdown()
|
||||
{
|
||||
if (purge_sys.enabled()) {
|
||||
if (!srv_fast_shutdown)
|
||||
if (!srv_fast_shutdown && !opt_bootstrap)
|
||||
srv_update_purge_thread_count(innodb_purge_threads_MAX);
|
||||
while(!srv_purge_should_exit()) {
|
||||
ut_a(!purge_sys.paused());
|
||||
|
Loading…
x
Reference in New Issue
Block a user