MDEV-16809 introduced the configuration parameter innodb_log_optimize_ddl (ON by default, to keep existing behaviour). The intention was that with the non-default setting innodb_log_optimize_ddl=OFF, all changes to persistent data pages would be redo-logged.
Unfortunately, while the PageBulk code appears to write redo log for many operations, both in PageBulk::insert() and PageBulk::finish(), the modifications of the sparse page directory and the linked list of records are not being redo-logged.
Furthermore, PageBulk::init() is bypassing some checks by setting a flag buf_block_t::skip_flush_check, which should not exist at all. There should be no special logic for flushing ‘incomplete’ pages, and all changes to persistent pages should be redo-logged if innodb_log_optimize_ddl=OFF.
As far as I can tell, there should be no impact on InnoDB crash recovery due to this. The omitted redo logging should only affect scenarios where mariabackup --backup is run concurrently with a table-rebuilding or index-creating ALTER TABLE…ALGORITHM=INPLACE operation.
{"report":{"fcp":837.3000001907349,"ttfb":150.90000009536743,"pageVisibility":"visible","entityId":79001,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"89b40051-6910-418f-853f-d3950b81d2e9","navigationType":0,"readyForUser":888.6000001430511,"redirectCount":0,"resourceLoadedEnd":897.6000001430511,"resourceLoadedStart":156.60000014305115,"resourceTiming":[{"duration":7.299999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":156.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":156.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":163.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":7.8999998569488525,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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","startTime":156.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":156.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":164.70000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":281.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":157,"connectEnd":157,"connectStart":157,"domainLookupEnd":157,"domainLookupStart":157,"fetchStart":157,"redirectEnd":0,"redirectStart":0,"requestStart":157,"responseEnd":438.60000014305115,"responseStart":438.60000014305115,"secureConnectionStart":157},{"duration":353.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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","startTime":157.10000014305115,"connectEnd":157.10000014305115,"connectStart":157.10000014305115,"domainLookupEnd":157.10000014305115,"domainLookupStart":157.10000014305115,"fetchStart":157.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":157.10000014305115,"responseEnd":510.60000014305115,"responseStart":510.60000014305115,"secureConnectionStart":157.10000014305115},{"duration":357,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":157.20000004768372,"connectEnd":157.20000004768372,"connectStart":157.20000004768372,"domainLookupEnd":157.20000004768372,"domainLookupStart":157.20000004768372,"fetchStart":157.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":157.20000004768372,"responseEnd":514.2000000476837,"responseStart":514.2000000476837,"secureConnectionStart":157.20000004768372},{"duration":357.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":157.30000019073486,"connectEnd":157.30000019073486,"connectStart":157.30000019073486,"domainLookupEnd":157.30000019073486,"domainLookupStart":157.30000019073486,"fetchStart":157.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":157.30000019073486,"responseEnd":514.7000000476837,"responseStart":514.7000000476837,"secureConnectionStart":157.30000019073486},{"duration":358,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":157.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":157.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":515.5,"responseStart":0,"secureConnectionStart":0},{"duration":357.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":157.5,"connectEnd":157.5,"connectStart":157.5,"domainLookupEnd":157.5,"domainLookupStart":157.5,"fetchStart":157.5,"redirectEnd":0,"redirectStart":0,"requestStart":157.5,"responseEnd":515,"responseStart":515,"secureConnectionStart":157.5},{"duration":357.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":157.60000014305115,"connectEnd":157.60000014305115,"connectStart":157.60000014305115,"domainLookupEnd":157.60000014305115,"domainLookupStart":157.60000014305115,"fetchStart":157.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":157.60000014305115,"responseEnd":515.5,"responseStart":515.4000000953674,"secureConnectionStart":157.60000014305115},{"duration":358.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":157.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":157.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":515.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":358.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":157.80000019073486,"connectEnd":157.80000019073486,"connectStart":157.80000019073486,"domainLookupEnd":157.80000019073486,"domainLookupStart":157.80000019073486,"fetchStart":157.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":157.80000019073486,"responseEnd":516,"responseStart":516,"secureConnectionStart":157.80000019073486},{"duration":734.1000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":158.70000004768372,"connectEnd":158.70000004768372,"connectStart":158.70000004768372,"domainLookupEnd":158.70000004768372,"domainLookupStart":158.70000004768372,"fetchStart":158.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":158.70000004768372,"responseEnd":892.8000001907349,"responseStart":892.8000001907349,"secureConnectionStart":158.70000004768372},{"duration":738.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":158.70000004768372,"connectEnd":158.70000004768372,"connectStart":158.70000004768372,"domainLookupEnd":158.70000004768372,"domainLookupStart":158.70000004768372,"fetchStart":158.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":158.70000004768372,"responseEnd":897.6000001430511,"responseStart":897.6000001430511,"secureConnectionStart":158.70000004768372},{"duration":246.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":647.5,"connectEnd":647.5,"connectStart":647.5,"domainLookupEnd":647.5,"domainLookupStart":647.5,"fetchStart":647.5,"redirectEnd":0,"redirectStart":0,"requestStart":647.5,"responseEnd":893.8000001907349,"responseStart":893.7000000476837,"secureConnectionStart":647.5},{"duration":87.09999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":816.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":816.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":903.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":26,"responseStart":151,"responseEnd":153,"domLoading":155,"domInteractive":999,"domContentLoadedEventStart":999,"domContentLoadedEventEnd":1038,"domComplete":1669,"loadEventStart":1669,"loadEventEnd":1671,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":977.8000001907349},{"name":"bigPipe.sidebar-id.end","time":978.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":978.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":981.1000001430511},{"name":"activityTabFullyLoaded","time":1044.3000001907349}],"measures":[],"correlationId":"2552b95e502cd5","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":75,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}