This "bug" is XtraDB related but it could be interesting to put in the KB the fact that trying to restore/access damaged InnoDB datas could work differently when using XtraDB or InnoDB plugin.
It is the second time that i have a serious power shortage on a server with a RAID card with wright through cache enabled and that has its battery depleted (the RAID card flushes its cache to disk not on a FIFO manner) with InnoDB tables on a MariaDB 5.5 ending up badly corrupted and i encounter this very issue.
These tables are write intensive as they store monitoring datas.
The only way to start the server is to set innodb_force_recovery = 6 and to disable XtraDB and load InnoDB plugin instead.
Setting the innodb_force_recovery to any parameter with XtraDB will end up on either the server crashing at start (with values from 1 to 5 in my case) either with this messages looping in the error log while stays still unavailable : InnoDB: Waiting for the background threads to start
Here are the kind of errors shown on the error log when starting with innodb_force_recovery = 6 and InnoDB plugin :
130711 3:09:36 InnoDB: error: space object of table 'zabbix/acknowledges',
|
InnoDB: space id 10 did not exist in memory. Retrying an open.
|
130711 3:09:36 InnoDB: Warning: allocated tablespace 10, old maximum was 0
|
130711 3:09:36 InnoDB: error: space object of table 'zabbix/actions',
|
InnoDB: space id 11 did not exist in memory. Retrying an open.
|
130711 3:09:36 InnoDB: error: space object of table 'zabbix/alerts',
|
Accessing certain rows on certain tables will crash MariaDB but at least the other tables can be dumped completely and these tables can also be partially dumped using a LIMIT clause.
- relates to
-
MDEV-12253
Buffer pool blocks are accessed after they have been freed
-
-
Closed
- links to
-
-
{"report":{"fcp":3824.5,"ttfb":1552.5999999046326,"pageVisibility":"visible","entityId":24612,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"611fdd98-5d88-4b8a-8684-883676d8717b","navigationType":0,"readyForUser":3851.9000000953674,"redirectCount":0,"resourceLoadedEnd":4628.199999809265,"resourceLoadedStart":1704.2999997138977,"resourceTiming":[{"duration":1376,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":1704.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1704.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3080.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":1433.5999999046326,"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":1704.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1704.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3138.199999809265,"responseStart":0,"secureConnectionStart":0},{"duration":1442,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":1704.7999997138977,"connectEnd":1704.7999997138977,"connectStart":1704.7999997138977,"domainLookupEnd":1704.7999997138977,"domainLookupStart":1704.7999997138977,"fetchStart":1704.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1704.7999997138977,"responseEnd":3146.7999997138977,"responseStart":3146.7999997138977,"secureConnectionStart":1704.7999997138977},{"duration":1466.5,"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":1705,"connectEnd":1705,"connectStart":1705,"domainLookupEnd":1705,"domainLookupStart":1705,"fetchStart":1705,"redirectEnd":0,"redirectStart":0,"requestStart":1705,"responseEnd":3171.5,"responseStart":3171.5,"secureConnectionStart":1705},{"duration":1470.6999998092651,"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":1705.0999999046326,"connectEnd":1705.0999999046326,"connectStart":1705.0999999046326,"domainLookupEnd":1705.0999999046326,"domainLookupStart":1705.0999999046326,"fetchStart":1705.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1705.0999999046326,"responseEnd":3175.7999997138977,"responseStart":3175.7999997138977,"secureConnectionStart":1705.0999999046326},{"duration":1543.2999997138977,"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":1705.4000000953674,"connectEnd":1705.4000000953674,"connectStart":1705.4000000953674,"domainLookupEnd":1705.4000000953674,"domainLookupStart":1705.4000000953674,"fetchStart":1705.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1705.4000000953674,"responseEnd":3248.699999809265,"responseStart":3248.699999809265,"secureConnectionStart":1705.4000000953674},{"duration":1543.5999999046326,"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":1705.5,"connectEnd":1705.5,"connectStart":1705.5,"domainLookupEnd":1705.5,"domainLookupStart":1705.5,"fetchStart":1705.5,"redirectEnd":0,"redirectStart":0,"requestStart":1705.5,"responseEnd":3249.0999999046326,"responseStart":3249.0999999046326,"secureConnectionStart":1705.5},{"duration":1655.4000000953674,"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":1705.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1705.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3361.199999809265,"responseStart":0,"secureConnectionStart":0},{"duration":1566.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":1705.9000000953674,"connectEnd":1705.9000000953674,"connectStart":1705.9000000953674,"domainLookupEnd":1705.9000000953674,"domainLookupStart":1705.9000000953674,"fetchStart":1705.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1705.9000000953674,"responseEnd":3272.0999999046326,"responseStart":3272.0999999046326,"secureConnectionStart":1705.9000000953674},{"duration":1655.3000001907349,"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":1706.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1706.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3361.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":1567.5,"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":1706.1999998092651,"connectEnd":1706.1999998092651,"connectStart":1706.1999998092651,"domainLookupEnd":1706.1999998092651,"domainLookupStart":1706.1999998092651,"fetchStart":1706.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1706.1999998092651,"responseEnd":3273.699999809265,"responseStart":3273.699999809265,"secureConnectionStart":1706.1999998092651},{"duration":2920.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":1707.1999998092651,"connectEnd":1707.1999998092651,"connectStart":1707.1999998092651,"domainLookupEnd":1707.1999998092651,"domainLookupStart":1707.1999998092651,"fetchStart":1707.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1707.1999998092651,"responseEnd":4627.799999713898,"responseStart":4627.799999713898,"secureConnectionStart":1707.1999998092651},{"duration":2920.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":1707.2999997138977,"connectEnd":1707.2999997138977,"connectStart":1707.2999997138977,"domainLookupEnd":1707.2999997138977,"domainLookupStart":1707.2999997138977,"fetchStart":1707.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1707.2999997138977,"responseEnd":4628.199999809265,"responseStart":4628.199999809265,"secureConnectionStart":1707.2999997138977},{"duration":1135.9000000953674,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":3450,"connectEnd":3450,"connectStart":3450,"domainLookupEnd":3450,"domainLookupStart":3450,"fetchStart":3450,"redirectEnd":0,"redirectStart":0,"requestStart":3450,"responseEnd":4585.900000095367,"responseStart":4585.900000095367,"secureConnectionStart":3450},{"duration":898.3000001907349,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":3744.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":3744.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":4643.099999904633,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":1391,"responseStart":1552,"responseEnd":1590,"domLoading":1680,"domInteractive":4683,"domContentLoadedEventStart":4683,"domContentLoadedEventEnd":4726,"domComplete":7160,"loadEventStart":7160,"loadEventEnd":7161,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":4657.299999713898},{"name":"bigPipe.sidebar-id.end","time":4659},{"name":"bigPipe.activity-panel-pipe-id.start","time":4659.199999809265},{"name":"bigPipe.activity-panel-pipe-id.end","time":4661.900000095367},{"name":"activityTabFullyLoaded","time":4731.400000095367}],"measures":[],"correlationId":"3cf9735f1552c9","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":85,"dbReadsTimeInMs":8,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}