Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.5
MDEV-24278 improved the page cleaner so that it will no longer wake up once per second on an idle server. However, with innodb_adaptive_flushing (the default) the function page_cleaner_flush_pages_recommendation() could initially return 0 even if there is work to do. The page cleaner should only remain sleeping indefinitely as long as the sharp innodb_max_dirty_pages_pct_lwm limit is not exceeded.
Based on a source code comment, it appears that an initial intention of innodb_max_dirty_pages_pct_lwm=0.0 (the default value) was to disable something. That ceased to hold in MDEV-23855 and MDEV-24278 : the value is a pure threshold; the page cleaner will not perform any work unless the threshold is exceeded.
Marko Mäkelä
made changes -
2020-12-08 12:58
Status
Open
[ 1
]
In Progress
[ 3
]
Marko Mäkelä
made changes -
2020-12-09 11:52
Fix Version/s
10.5.9
[ 25109
]
Fix Version/s
10.5
[ 23123
]
Resolution
Fixed
[ 1
]
Status
In Progress
[ 3
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:52
Workflow
MariaDB v3
[ 116653
]
MariaDB v4
[ 158665
]
{"report":{"fcp":1641.2999999523163,"ttfb":449,"pageVisibility":"visible","entityId":94753,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"41786233-13b2-424c-8168-a4c7d6cbc6b6","navigationType":0,"readyForUser":1713.5999999046326,"redirectCount":0,"resourceLoadedEnd":2311.7000000476837,"resourceLoadedStart":454.90000009536743,"resourceTiming":[{"duration":642.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":454.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":454.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1097.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":642.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":455.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":455.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1098,"responseStart":0,"secureConnectionStart":0},{"duration":696.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":456,"connectEnd":456,"connectStart":456,"domainLookupEnd":456,"domainLookupStart":456,"fetchStart":456,"redirectEnd":0,"redirectStart":0,"requestStart":456,"responseEnd":1152.0999999046326,"responseStart":1152.0999999046326,"secureConnectionStart":456},{"duration":787.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":456.2000000476837,"connectEnd":456.2000000476837,"connectStart":456.2000000476837,"domainLookupEnd":456.2000000476837,"domainLookupStart":456.2000000476837,"fetchStart":456.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":456.2000000476837,"responseEnd":1243.4000000953674,"responseStart":1243.4000000953674,"secureConnectionStart":456.2000000476837},{"duration":790.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":456.59999990463257,"connectEnd":456.59999990463257,"connectStart":456.59999990463257,"domainLookupEnd":456.59999990463257,"domainLookupStart":456.59999990463257,"fetchStart":456.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":456.59999990463257,"responseEnd":1247.4000000953674,"responseStart":1247.4000000953674,"secureConnectionStart":456.59999990463257},{"duration":791.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":456.7000000476837,"connectEnd":456.7000000476837,"connectStart":456.7000000476837,"domainLookupEnd":456.7000000476837,"domainLookupStart":456.7000000476837,"fetchStart":456.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":456.7000000476837,"responseEnd":1247.7999999523163,"responseStart":1247.7999999523163,"secureConnectionStart":456.7000000476837},{"duration":791.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":456.90000009536743,"connectEnd":456.90000009536743,"connectStart":456.90000009536743,"domainLookupEnd":456.90000009536743,"domainLookupStart":456.90000009536743,"fetchStart":456.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":456.90000009536743,"responseEnd":1248.2000000476837,"responseStart":1248.2000000476837,"secureConnectionStart":456.90000009536743},{"duration":841.7000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":457.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":457.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1298.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":791.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":457.2999999523163,"connectEnd":457.2999999523163,"connectStart":457.2999999523163,"domainLookupEnd":457.2999999523163,"domainLookupStart":457.2999999523163,"fetchStart":457.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":457.2999999523163,"responseEnd":1248.7000000476837,"responseStart":1248.7000000476837,"secureConnectionStart":457.2999999523163},{"duration":841.5999999046326,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":457.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":457.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1299.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":791.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":457.59999990463257,"connectEnd":457.59999990463257,"connectStart":457.59999990463257,"domainLookupEnd":457.59999990463257,"domainLookupStart":457.59999990463257,"fetchStart":457.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":457.59999990463257,"responseEnd":1249.2999999523163,"responseStart":1249.2999999523163,"secureConnectionStart":457.59999990463257},{"duration":1298.3999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":458.7000000476837,"connectEnd":458.7000000476837,"connectStart":458.7000000476837,"domainLookupEnd":458.7000000476837,"domainLookupStart":458.7000000476837,"fetchStart":458.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":458.7000000476837,"responseEnd":1757.0999999046326,"responseStart":1757.0999999046326,"secureConnectionStart":458.7000000476837},{"duration":1852.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":458.90000009536743,"connectEnd":458.90000009536743,"connectStart":458.90000009536743,"domainLookupEnd":458.90000009536743,"domainLookupStart":458.90000009536743,"fetchStart":458.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":458.90000009536743,"responseEnd":2311.7000000476837,"responseStart":2311.7000000476837,"secureConnectionStart":458.90000009536743},{"duration":472.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1311.4000000953674,"connectEnd":1311.4000000953674,"connectStart":1311.4000000953674,"domainLookupEnd":1311.4000000953674,"domainLookupStart":1311.4000000953674,"fetchStart":1311.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1311.4000000953674,"responseEnd":1783.9000000953674,"responseStart":1783.9000000953674,"secureConnectionStart":1311.4000000953674},{"duration":767.4000000953674,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1633.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1633.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2400.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":266,"responseStart":449,"responseEnd":453,"domLoading":453,"domInteractive":2355,"domContentLoadedEventStart":2355,"domContentLoadedEventEnd":2401,"domComplete":3180,"loadEventStart":3180,"loadEventEnd":3180,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2317.2000000476837},{"name":"bigPipe.sidebar-id.end","time":2318.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":2318.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":2320.5999999046326},{"name":"activityTabFullyLoaded","time":2416.4000000953674}],"measures":[],"correlationId":"ff64e4343cf059","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":129,"dbReadsTimeInMs":26,"dbConnsTimeInMs":37,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Note: This bug was not part of any 10.5 release. It was introduced by
MDEV-24278after the 10.5.8 release, during the development of 10.5.9.