Commit graph

2 commits

Author SHA1 Message Date
Vladislav Vaintroub
de9c357284 MDEV-32841 Add tests for new counters.
Only add innodb_async_reads/writes_total_count here.
For all other counters, writing reproducible tests is rather tricky.
2024-02-28 13:31:19 +01:00
Marko Mäkelä
93522bc9a9 MDEV-24917 Page cleaner wrongly remains idle
commit a993310593 (MDEV-24537)
introduced the regression that the page cleaner will keep sleeping
even if there is work to do.

innodb_max_dirty_pages_pct_update(): Always wake up the page cleaner
on any SET GLOBAL innodb_max_dirty_pages_pct= assignment.

buf_flush_page_cleaner(): If innodb_max_dirty_pages_pct is nonzero,
consult only that parameter when determining whether there is work
to do. Else, consult innodb_max_dirty_pages.
2021-02-18 18:20:50 +02:00