Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-35409 InnoDB can still hang while running out of buffer pool
buf_pool_t::LRU_warn(): Also clear the try_LRU_scan flag, to ensure that need_LRU_eviction() will hold. This should ensure progress when buf_LRU_get_free_block() is expecting buf_flush_page_cleaner() to make some room, even when buf_pool.LRU.count is small. This hang was observed in trx_lists_init_at_db_start() while the last batch of crash recovery was in progress, but it could theoretically be possible also when a large part of the buffer pool is occupied by record locks or the adaptive hash index. Reviewed by: Debarun Banerjee
- Loading branch information