See the following error message:
2018-11-05 3:53:42 139986889774848 [ERROR] InnoDB: Page 227027:2591 may be corrupted. Post encryption checksum 3926119398 stored [3479160576:3479160576] key_version 1
|
2018-11-05 03:53:42 0x7f513cd69700 InnoDB: Assertion failure in file /home/buildbot/buildbot/build/storage/innobase/rem/rem0rec.cc line 580
|
This is printed here:
https://github.com/MariaDB/server/blob/5567a8c936ede50efcdf4a7f898dbaa058106d70/storage/innobase/fil/fil0crypt.cc#L2639
A lot of people seem to think that 227027 in the above message would refer to the page number, but it actually refers to the tablespace ID. I think we should improve this message. Maybe something like?:
2018-11-05 3:53:42 139986889774848 [ERROR] InnoDB: Page in tablespace 227027 with offset 2591 may be corrupted. Post encryption checksum 3926119398 stored [3479160576:3479160576] key_version 1
|
2018-11-05 03:53:42 0x7f513cd69700 InnoDB: Assertion failure in file /home/buildbot/buildbot/build/storage/innobase/rem/rem0rec.cc line 580
|
{"report":{"fcp":914.8000001907349,"ttfb":252.5,"pageVisibility":"visible","entityId":70667,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"df81dc30-17f7-44e6-b7fa-ad4ee614b171","navigationType":0,"readyForUser":998.8000001907349,"redirectCount":0,"resourceLoadedEnd":617.1999998092651,"resourceLoadedStart":258.80000019073486,"resourceTiming":[{"duration":23.09999942779541,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":258.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":258.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":281.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":28.199999809265137,"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":259.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":287.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":120.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":259.30000019073486,"connectEnd":259.30000019073486,"connectStart":259.30000019073486,"domainLookupEnd":259.30000019073486,"domainLookupStart":259.30000019073486,"fetchStart":259.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":259.30000019073486,"responseEnd":379.80000019073486,"responseStart":379.80000019073486,"secureConnectionStart":259.30000019073486},{"duration":197.30000019073486,"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":259.5,"connectEnd":259.5,"connectStart":259.5,"domainLookupEnd":259.5,"domainLookupStart":259.5,"fetchStart":259.5,"redirectEnd":0,"redirectStart":0,"requestStart":259.5,"responseEnd":456.80000019073486,"responseStart":456.80000019073486,"secureConnectionStart":259.5},{"duration":201.19999980926514,"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":259.69999980926514,"connectEnd":259.69999980926514,"connectStart":259.69999980926514,"domainLookupEnd":259.69999980926514,"domainLookupStart":259.69999980926514,"fetchStart":259.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":259.69999980926514,"responseEnd":460.8999996185303,"responseStart":460.8999996185303,"secureConnectionStart":259.69999980926514},{"duration":201.4000005722046,"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":259.8999996185303,"connectEnd":259.8999996185303,"connectStart":259.8999996185303,"domainLookupEnd":259.8999996185303,"domainLookupStart":259.8999996185303,"fetchStart":259.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":259.8999996185303,"responseEnd":461.30000019073486,"responseStart":461.30000019073486,"secureConnectionStart":259.8999996185303},{"duration":201.69999980926514,"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":260.1000003814697,"connectEnd":260.1000003814697,"connectStart":260.1000003814697,"domainLookupEnd":260.1000003814697,"domainLookupStart":260.1000003814697,"fetchStart":260.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":260.1000003814697,"responseEnd":461.80000019073486,"responseStart":461.69999980926514,"secureConnectionStart":260.1000003814697},{"duration":269.19999980926514,"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":260.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":529.5,"responseStart":0,"secureConnectionStart":0},{"duration":201.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":260.5,"connectEnd":260.5,"connectStart":260.5,"domainLookupEnd":260.5,"domainLookupStart":260.5,"fetchStart":260.5,"redirectEnd":0,"redirectStart":0,"requestStart":260.5,"responseEnd":462.19999980926514,"responseStart":462.19999980926514,"secureConnectionStart":260.5},{"duration":269.1000003814697,"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":260.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":529.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":202.19999980926514,"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":260.80000019073486,"connectEnd":260.80000019073486,"connectStart":260.80000019073486,"domainLookupEnd":260.80000019073486,"domainLookupStart":260.80000019073486,"fetchStart":260.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":260.80000019073486,"responseEnd":463,"responseStart":463,"secureConnectionStart":260.80000019073486},{"duration":309.3999996185303,"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":262.1000003814697,"connectEnd":262.1000003814697,"connectStart":262.1000003814697,"domainLookupEnd":262.1000003814697,"domainLookupStart":262.1000003814697,"fetchStart":262.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":262.1000003814697,"responseEnd":571.5,"responseStart":571.5,"secureConnectionStart":262.1000003814697},{"duration":350.3999996185303,"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":266.80000019073486,"connectEnd":266.80000019073486,"connectStart":266.80000019073486,"domainLookupEnd":266.80000019073486,"domainLookupStart":266.80000019073486,"fetchStart":266.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":266.80000019073486,"responseEnd":617.1999998092651,"responseStart":617.1999998092651,"secureConnectionStart":266.80000019073486},{"duration":57.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":543.8000001907349,"connectEnd":543.8000001907349,"connectStart":543.8000001907349,"domainLookupEnd":543.8000001907349,"domainLookupStart":543.8000001907349,"fetchStart":543.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":543.8000001907349,"responseEnd":601.5,"responseStart":601.5,"secureConnectionStart":543.8000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":67,"responseStart":253,"responseEnd":257,"domLoading":256,"domInteractive":1085,"domContentLoadedEventStart":1085,"domContentLoadedEventEnd":1144,"domComplete":1576,"loadEventStart":1576,"loadEventEnd":1576,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1049.5},{"name":"bigPipe.sidebar-id.end","time":1050.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1050.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1053.1000003814697},{"name":"activityTabFullyLoaded","time":1182.8999996185303}],"measures":[],"correlationId":"1c50f1df25993a","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":125,"dbReadsTimeInMs":20,"dbConnsTimeInMs":31,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
MDEV-13542would ultimately propagate the error to the SQL layer. Even before that, we definitely could improve the messages that are output to the error log.