1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-24612: innodb hangs if it's initialization is broken before encryption threads are started

Do not init encryption threads if shutdown is in progress.
This commit is contained in:
Vlad Lesin
2021-01-18 23:17:04 +03:00
parent 7c052cdf0b
commit 9930cb22c7
4 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,12 @@
call mtr.add_suppression("Creating system tablespace with existing redo log file is not recommended.");
call mtr.add_suppression("InnoDB: Database creation was aborted");
call mtr.add_suppression("Plugin 'InnoDB' init function returned error.");
call mtr.add_suppression("Plugin 'InnoDB' registration as a STORAGE ENGINE failed.");
CREATE TABLE t(a INT) ENGINE=InnoDB;
# Kill the server
# restart
SELECT * FROM t;
ERROR 42000: Unknown storage engine 'InnoDB'
# Kill the server
# restart
DROP TABLE t;