mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-34169 Don't allow innodb_open_files to be lesser than
number of non-user tablespace. - InnoDB only closes the user tablespace when the number of open files exceeds innodb_open_files limit. In that case, InnoDB should make sure that innodb_open_files value should be greater than number of undo tablespace, system and temporary tablespace files.
This commit is contained in:
3
mysql-test/suite/innodb/t/open_files_limit.opt
Normal file
3
mysql-test/suite/innodb/t/open_files_limit.opt
Normal file
@@ -0,0 +1,3 @@
|
||||
--innodb_undo_tablespaces=8
|
||||
--innodb_open_files=10
|
||||
--innodb_temp_data_file_path=ibtmp1:32M;ibtmp2:32M:autoextend
|
9
mysql-test/suite/innodb/t/open_files_limit.test
Normal file
9
mysql-test/suite/innodb/t/open_files_limit.test
Normal file
@@ -0,0 +1,9 @@
|
||||
--source include/have_innodb.inc
|
||||
--source include/not_embedded.inc
|
||||
call mtr.add_suppression("\\[Warning\\] InnoDB: innodb_open_files=.* is not greater than the number of system tablespace files, temporary tablespace files, innodb_undo_tablespaces=.*");
|
||||
let SEARCH_PATTERN= \[Warning\] InnoDB: innodb_open_files=.* is not greater than the number of system tablespace files, temporary tablespace files, innodb_undo_tablespaces=.*;
|
||||
let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
||||
--source include/search_pattern_in_file.inc
|
||||
|
||||
CREATE TABLE t1(f1 INT NOT NULL)ENGINE=InnoDB;
|
||||
DROP TABLE t1;
|
Reference in New Issue
Block a user