[MDEV-24917] Flushing starts only when 90% (srv_max_buf_pool_modified_pct) pages are modified Created: 2021-02-18 Updated: 2021-02-19 Resolved: 2021-02-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.6 |
| Fix Version/s: | 10.5.9 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Krunal Bauskar | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression-10.5 | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Recently changes in introduced by
Said condition is wrong and should be removed. |
| Comments |
| Comment by Marko Mäkelä [ 2021-02-18 ] | |||||||||||||||||||||||
|
Thank you for the report. This regression was caused by
Now, how to avoid the unwanted goto unemployed if the above fix is not present? It looks like the only way to do this could be setting the two parameters to the same value. But, because the value innodb_max_dirty_pages_pct_lwm=0 is special (
As far as I can, tell this bug makes the parameter innodb_max_dirty_pages_pct_lwm basically useless and prevents the adaptive flushing from working. | |||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2021-02-18 ] | |||||||||||||||||||||||
|
I can verify that indeed the cause of this is
| |||||||||||||||||||||||
| Comment by Axel Schwenke [ 2021-02-18 ] | |||||||||||||||||||||||
|
verified to work with MariaDB10.5.9 (9d7dc1f6d04) |