mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-26784 [Warning] InnoDB: Difficult to find free blocks in the buffer pool
Problem: ======= InnoDB ran out of memory during recovery and it fails to flush the dirty LRU blocks. The reason is that buffer pool can ran out before the LRU list length reaches BUF_LRU_OLD_MIN_LEN(256) threshold. Fix: ==== During recovery, InnoDB should write out and evict all dirty blocks.
This commit is contained in:
12
mysql-test/suite/innodb/r/recovery_memory.result
Normal file
12
mysql-test/suite/innodb/r/recovery_memory.result
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE t1(c TEXT, KEY(c(3072)))ENGINE=InnoDB;
|
||||
CREATE PROCEDURE dorepeat()
|
||||
LOOP
|
||||
INSERT INTO t1 VALUES ('abc');
|
||||
UPDATE t1 SET c='cba';
|
||||
END LOOP
|
||||
|
|
||||
connect con1,localhost,root,,,;
|
||||
CALL dorepeat();
|
||||
connection default;
|
||||
# restart: --innodb_buffer_pool_size=5242880
|
||||
DROP TABLE t1;
|
Reference in New Issue
Block a user