Skip to content

Commit 8a9e9d8

Browse files
committed
MDEV-13570 Assertion failure !srv_read_only_mode in --innodb-read-only shutdown when buf_resize_thread is active
logs_empty_and_mark_files_at_shutdown(): Skip the debug assertion when the buf_resize_thread is active.
1 parent 8a3e297 commit 8a9e9d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/innobase/log/log0log.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1944,6 +1944,7 @@ logs_empty_and_mark_files_at_shutdown(void)
19441944
thread_name = "lock_wait_timeout_thread";
19451945
} else if (srv_buf_dump_thread_active) {
19461946
thread_name = "buf_dump_thread";
1947+
goto wait_suspend_loop;
19471948
} else if (btr_defragment_thread_active) {
19481949
thread_name = "btr_defragment_thread";
19491950
} else if (srv_fast_shutdown != 2 && trx_rollback_or_clean_is_active) {

0 commit comments

Comments
 (0)