As part of MDEV-12288, a parameter of trx_undo_commit_cleanup() was accidentally always passed as bool noredo=true.
The impact of this should be that some undo log pages may not be correctly freed if the server is killed and crash recovery will be performed. Similarly, if mariabackup --backup is being executed concurrently with user transaction commits, it could happen that some undo log pages in the backup will never be marked as free for reuse.
As far as I can tell, this bug should not have any user-visible impact other than some undo pages being wasted. I found the bug when working on code refactoring.
- is caused by
-
MDEV-12288
Reset DB_TRX_ID when the history is removed, to speed up MVCC
-
-
Closed
{"report":{"fcp":1182.7999997138977,"ttfb":349.8999996185303,"pageVisibility":"visible","entityId":80722,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"66117b6e-d539-4910-b4ca-4acbf5c0729f","navigationType":0,"readyForUser":1264.3999996185303,"redirectCount":0,"resourceLoadedEnd":1356.8999996185303,"resourceLoadedStart":357.7999997138977,"resourceTiming":[{"duration":224.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":357.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":357.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":582.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":224.59999990463257,"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":358,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":358,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":582.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":284.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":358.19999980926514,"connectEnd":358.19999980926514,"connectStart":358.19999980926514,"domainLookupEnd":358.19999980926514,"domainLookupStart":358.19999980926514,"fetchStart":358.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":358.19999980926514,"responseEnd":642.5999999046326,"responseStart":642.5999999046326,"secureConnectionStart":358.19999980926514},{"duration":428.6000003814697,"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":358.3999996185303,"connectEnd":358.3999996185303,"connectStart":358.3999996185303,"domainLookupEnd":358.3999996185303,"domainLookupStart":358.3999996185303,"fetchStart":358.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":358.3999996185303,"responseEnd":787,"responseStart":787,"secureConnectionStart":358.3999996185303},{"duration":433.69999980926514,"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":358.59999990463257,"connectEnd":358.59999990463257,"connectStart":358.59999990463257,"domainLookupEnd":358.59999990463257,"domainLookupStart":358.59999990463257,"fetchStart":358.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":358.59999990463257,"responseEnd":792.2999997138977,"responseStart":792.2999997138977,"secureConnectionStart":358.59999990463257},{"duration":434.59999990463257,"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":358.7999997138977,"connectEnd":358.7999997138977,"connectStart":358.7999997138977,"domainLookupEnd":358.7999997138977,"domainLookupStart":358.7999997138977,"fetchStart":358.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":358.7999997138977,"responseEnd":793.3999996185303,"responseStart":793.3999996185303,"secureConnectionStart":358.7999997138977},{"duration":435.40000009536743,"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":358.8999996185303,"connectEnd":358.8999996185303,"connectStart":358.8999996185303,"domainLookupEnd":358.8999996185303,"domainLookupStart":358.8999996185303,"fetchStart":358.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":358.8999996185303,"responseEnd":794.2999997138977,"responseStart":794.2999997138977,"secureConnectionStart":358.8999996185303},{"duration":466.09999990463257,"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":359.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":359.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":825.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":435.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":359.2999997138977,"connectEnd":359.2999997138977,"connectStart":359.2999997138977,"domainLookupEnd":359.2999997138977,"domainLookupStart":359.2999997138977,"fetchStart":359.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":359.2999997138977,"responseEnd":794.6999998092651,"responseStart":794.6999998092651,"secureConnectionStart":359.2999997138977},{"duration":465.90000009536743,"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":359.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":359.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":825.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":435.7999997138977,"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":359.59999990463257,"connectEnd":359.59999990463257,"connectStart":359.59999990463257,"domainLookupEnd":359.59999990463257,"domainLookupStart":359.59999990463257,"fetchStart":359.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":359.59999990463257,"responseEnd":795.3999996185303,"responseStart":795.3999996185303,"secureConnectionStart":359.59999990463257},{"duration":670.5999999046326,"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":361.7999997138977,"connectEnd":361.7999997138977,"connectStart":361.7999997138977,"domainLookupEnd":361.7999997138977,"domainLookupStart":361.7999997138977,"fetchStart":361.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":361.7999997138977,"responseEnd":1032.3999996185303,"responseStart":1032.2999997138977,"secureConnectionStart":361.7999997138977},{"duration":973.9000000953674,"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":361.8999996185303,"connectEnd":361.8999996185303,"connectStart":361.8999996185303,"domainLookupEnd":361.8999996185303,"domainLookupStart":361.8999996185303,"fetchStart":361.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":361.8999996185303,"responseEnd":1335.7999997138977,"responseStart":1335.7999997138977,"secureConnectionStart":361.8999996185303},{"duration":188.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":850.2999997138977,"connectEnd":850.2999997138977,"connectStart":850.2999997138977,"domainLookupEnd":850.2999997138977,"domainLookupStart":850.2999997138977,"fetchStart":850.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":850.2999997138977,"responseEnd":1038.8999996185303,"responseStart":1038.8999996185303,"secureConnectionStart":850.2999997138977},{"duration":229.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&slack-enabled=true&whisper-enabled=true","startTime":1127.0999999046326,"connectEnd":1127.0999999046326,"connectStart":1127.0999999046326,"domainLookupEnd":1127.0999999046326,"domainLookupStart":1127.0999999046326,"fetchStart":1127.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1127.0999999046326,"responseEnd":1356.8999996185303,"responseStart":1356.8999996185303,"secureConnectionStart":1127.0999999046326},{"duration":287.8999996185303,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1174,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1174,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1461.8999996185303,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":150,"responseStart":350,"responseEnd":352,"domLoading":355,"domInteractive":1417,"domContentLoadedEventStart":1417,"domContentLoadedEventEnd":1461,"domComplete":2280,"loadEventStart":2280,"loadEventEnd":2282,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1340.7999997138977},{"name":"bigPipe.sidebar-id.end","time":1341.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1341.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":1344.5},{"name":"activityTabFullyLoaded","time":1473.5}],"measures":[],"correlationId":"3705bf3a3eec50","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":147,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}