diff options
| author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-08-31 12:02:31 +0200 |
|---|---|---|
| committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-08-31 12:02:31 +0200 |
| commit | 1fcd8db7765719f24692a6ef39afdc75337c44b2 (patch) | |
| tree | fe67b4dd7466bb5615ca5dc7f4efd318f92a7f0d | |
| parent | e62120cec7aa21b9cf77773ecb0935b4b48ed26c (diff) | |
| download | mariadb-git-bb-10.5-MDEV-26511.tar.gz | |
MDEV-26511 - Do not change purge thread count during bootstrapbb-10.5-MDEV-26511
Apparently, in bootstrap this could crash when creating new THDs
| -rw-r--r-- | storage/innobase/srv/srv0srv.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/srv/srv0srv.cc b/storage/innobase/srv/srv0srv.cc index 2a42d516761..685e4f19aa2 100644 --- a/storage/innobase/srv/srv0srv.cc +++ b/storage/innobase/srv/srv0srv.cc @@ -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()); |
