mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-33101 Server crashes when starting the server with innodb-force-recovery=6 and enabling the innodb_truncate_temporary_tablespace_now variable
The issue is introduced by "MDEV-28699: Shrink temporary tablespaces without restart". SRV_FORCE_NO_LOG_REDO forces server to read only mode and we don't initialize temporary tablespace in read only mode. solution: innodb_truncate_temporary_tablespace_now should be no-op in read only mode.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
# MDEV-33101 Server crashes when starting the server with
|
||||
# innodb-force-recovery=6 and enabling the
|
||||
# innodb_truncate_temporary_tablespace_now variable
|
||||
# restart: --innodb-force-recovery=6
|
||||
SHOW VARIABLES LIKE "innodb_read_only";
|
||||
Variable_name Value
|
||||
innodb_read_only ON
|
||||
SET GLOBAL innodb_truncate_temporary_tablespace_now=1;
|
||||
# restart
|
||||
CREATE TEMPORARY TABLE t1(f1 INT NOT NULL,
|
||||
f2 INT NOT NULL)ENGINE=InnoDB;
|
||||
|
Reference in New Issue
Block a user