The function ha_innobase::check_if_supported_inplace_alter() refuses ALGORITHM=INPLACE operation if innodb_force_recovery has been specified. This is unnecessarily strict; only the values 4,5,6 will effectively corrupt the database and require any writes to be blocked. In MariaDB 10.2 we have the flag high_level_read_only that should be used instead.
Furthermore, the high_level_read_only flag should be set if newraw was specified for the InnoDB system tablespace.
I noticed this during the MDEV-13134 code review.
- relates to
-
MDEV-13134
Introduce ALTER TABLE attributes ALGORITHM=NOCOPY and ALGORITHM=INSTANT
-
-
Closed
Transition |
Time In Source Status |
Execution Times |
Open |
|
Closed |
|
15m 39s
|
1
|
{"report":{"fcp":782.2000000029802,"ttfb":256.1000000089407,"pageVisibility":"visible","entityId":66586,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"59332638-1793-4be6-a358-5392f51bd46b","navigationType":0,"readyForUser":854.9000000059605,"redirectCount":0,"resourceLoadedEnd":738.7000000029802,"resourceLoadedStart":261.30000001192093,"resourceTiming":[{"duration":7.399999991059303,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":261.30000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":268.70000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":7.4000000059604645,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":261.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":268.90000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":62.1000000089407,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":261.70000000298023,"connectEnd":261.70000000298023,"connectStart":261.70000000298023,"domainLookupEnd":261.70000000298023,"domainLookupStart":261.70000000298023,"fetchStart":261.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":261.70000000298023,"responseEnd":323.80000001192093,"responseStart":323.80000001192093,"secureConnectionStart":261.70000000298023},{"duration":159.20000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":261.90000000596046,"connectEnd":261.90000000596046,"connectStart":261.90000000596046,"domainLookupEnd":261.90000000596046,"domainLookupStart":261.90000000596046,"fetchStart":261.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":261.90000000596046,"responseEnd":421.1000000089407,"responseStart":421.1000000089407,"secureConnectionStart":261.90000000596046},{"duration":162.59999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":262.1000000089407,"connectEnd":262.1000000089407,"connectStart":262.1000000089407,"domainLookupEnd":262.1000000089407,"domainLookupStart":262.1000000089407,"fetchStart":262.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":262.1000000089407,"responseEnd":424.70000000298023,"responseStart":424.70000000298023,"secureConnectionStart":262.1000000089407},{"duration":162.79999999701977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":262.30000001192093,"connectEnd":262.30000001192093,"connectStart":262.30000001192093,"domainLookupEnd":262.30000001192093,"domainLookupStart":262.30000001192093,"fetchStart":262.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":262.30000001192093,"responseEnd":425.1000000089407,"responseStart":425.1000000089407,"secureConnectionStart":262.30000001192093},{"duration":162.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":262.5,"connectEnd":262.5,"connectStart":262.5,"domainLookupEnd":262.5,"domainLookupStart":262.5,"fetchStart":262.5,"redirectEnd":0,"redirectStart":0,"requestStart":262.5,"responseEnd":425.40000000596046,"responseStart":425.40000000596046,"secureConnectionStart":262.5},{"duration":208.90000000596046,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":262.70000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":262.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":471.6000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":262.80000001192093,"connectEnd":262.80000001192093,"connectStart":262.80000001192093,"domainLookupEnd":262.80000001192093,"domainLookupStart":262.80000001192093,"fetchStart":262.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":262.80000001192093,"responseEnd":425.80000001192093,"responseStart":425.80000001192093,"secureConnectionStart":262.80000001192093},{"duration":208.80000001192093,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":263,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":263,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":471.80000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":163.1000000089407,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":263.20000000298023,"connectEnd":263.20000000298023,"connectStart":263.20000000298023,"domainLookupEnd":263.20000000298023,"domainLookupStart":263.20000000298023,"fetchStart":263.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":263.20000000298023,"responseEnd":426.30000001192093,"responseStart":426.30000001192093,"secureConnectionStart":263.20000000298023},{"duration":246.20000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":264.1000000089407,"connectEnd":264.1000000089407,"connectStart":264.1000000089407,"domainLookupEnd":264.1000000089407,"domainLookupStart":264.1000000089407,"fetchStart":264.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":264.1000000089407,"responseEnd":510.30000001192093,"responseStart":510.30000001192093,"secureConnectionStart":264.1000000089407},{"duration":269.59999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":264.1000000089407,"connectEnd":264.1000000089407,"connectStart":264.1000000089407,"domainLookupEnd":264.1000000089407,"domainLookupStart":264.1000000089407,"fetchStart":264.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":264.1000000089407,"responseEnd":533.7000000029802,"responseStart":533.7000000029802,"secureConnectionStart":264.1000000089407},{"duration":26,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":499,"connectEnd":499,"connectStart":499,"domainLookupEnd":499,"domainLookupStart":499,"fetchStart":499,"redirectEnd":0,"redirectStart":0,"requestStart":499,"responseEnd":525,"responseStart":525,"secureConnectionStart":499},{"duration":210.20000000298023,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":528.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":528.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":738.7000000029802,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":108,"responseStart":256,"responseEnd":259,"domLoading":260,"domInteractive":942,"domContentLoadedEventStart":942,"domContentLoadedEventEnd":986,"domComplete":1390,"loadEventStart":1390,"loadEventEnd":1391,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":923.7000000029802},{"name":"bigPipe.sidebar-id.end","time":924.4000000059605},{"name":"bigPipe.activity-panel-pipe-id.start","time":924.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":925.4000000059605},{"name":"activityTabFullyLoaded","time":1000}],"measures":[],"correlationId":"2128c7424fb5ae","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":95,"dbReadsTimeInMs":13,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}