1
0
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:
Thirunarayanan Balathandayuthapani
2024-06-07 13:11:17 +05:30
parent 238798d978
commit b7a75fbb8a
4 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
--innodb_undo_tablespaces=8
--innodb_open_files=10
--innodb_temp_data_file_path=ibtmp1:32M;ibtmp2:32M:autoextend

View 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;