Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.1(EOL) , 10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5
(filed under Storage Engine - InnoDB because there is no component "Storage Engine - Blackhole", but it affects InnoDB compatibility)
Previous versions of InnoDB had a max index length of <1KB. Most modern versions of MariaDB increase that to 3KB+ (the innodb_large_prefix option).
Blackhole, while it is not an engine enabled by default on MariaDB, it is still shipped with it, and may have some limited usage for which it would be useful, even if can create many issues. One of the usages is to replicate to a separate server but ignore all data. However, there is a big compatibility issue between InnoDB and blackhole, and that is that indexes on Blackhole cannot be larger than 1KB.
max index length for Blackwhole is an arbitrary constant (https://github.com/MariaDB/server/blob/10.6/storage/blackhole/ha_blackhole.h#L70 ), and increasing it is very simple (no complex data to manage), but Oracle MySQL ignored the upstream bug report: https://bugs.mysql.com/bug.php?id=53588
Percona has applied such a patch: https://github.com/percona/percona-server/pull/2000 , and it has already a 3KB limit. I don't see a reason not to apply the same patch (or a similar, it is a one line change + tests) as it would improve compatibility, not break it.
{"report":{"fcp":1218.7999999523163,"ttfb":361.5,"pageVisibility":"visible","entityId":93051,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"08f8f5aa-6ad7-403d-ba90-b76f46324574","navigationType":0,"readyForUser":1357.4000000953674,"redirectCount":0,"resourceLoadedEnd":1289.7000000476837,"resourceLoadedStart":369.5,"resourceTiming":[{"duration":123.70000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":369.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":369.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":493.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":123.70000004768372,"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":369.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":369.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":493.5,"responseStart":0,"secureConnectionStart":0},{"duration":318.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":370,"connectEnd":370,"connectStart":370,"domainLookupEnd":370,"domainLookupStart":370,"fetchStart":370,"redirectEnd":0,"redirectStart":0,"requestStart":508.2000000476837,"responseEnd":688.7000000476837,"responseStart":526.5999999046326,"secureConnectionStart":370},{"duration":338.40000009536743,"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":370.09999990463257,"connectEnd":370.09999990463257,"connectStart":370.09999990463257,"domainLookupEnd":370.09999990463257,"domainLookupStart":370.09999990463257,"fetchStart":370.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":511.40000009536743,"responseEnd":708.5,"responseStart":534.4000000953674,"secureConnectionStart":370.09999990463257},{"duration":160.90000009536743,"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":370.2999999523163,"connectEnd":370.2999999523163,"connectStart":370.2999999523163,"domainLookupEnd":370.2999999523163,"domainLookupStart":370.2999999523163,"fetchStart":370.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":512.2999999523163,"responseEnd":531.2000000476837,"responseStart":530.2999999523163,"secureConnectionStart":370.2999999523163},{"duration":163,"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":370.5,"connectEnd":370.5,"connectStart":370.5,"domainLookupEnd":370.5,"domainLookupStart":370.5,"fetchStart":370.5,"redirectEnd":0,"redirectStart":0,"requestStart":513.5999999046326,"responseEnd":533.5,"responseStart":532.7999999523163,"secureConnectionStart":370.5},{"duration":163.5,"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":370.7000000476837,"connectEnd":370.7000000476837,"connectStart":370.7000000476837,"domainLookupEnd":370.7000000476837,"domainLookupStart":370.7000000476837,"fetchStart":370.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":513.7999999523163,"responseEnd":534.2000000476837,"responseStart":533.7000000476837,"secureConnectionStart":370.7000000476837},{"duration":141.40000009536743,"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":370.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":370.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":512.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":161.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":371,"connectEnd":371,"connectStart":371,"domainLookupEnd":371,"domainLookupStart":371,"fetchStart":371,"redirectEnd":0,"redirectStart":0,"requestStart":515.4000000953674,"responseEnd":532.7000000476837,"responseStart":532,"secureConnectionStart":371},{"duration":142.70000004768372,"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":371.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":371.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":513.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":220.89999985694885,"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":371.40000009536743,"connectEnd":524.7999999523163,"connectStart":524.7999999523163,"domainLookupEnd":524.7999999523163,"domainLookupStart":524.7999999523163,"fetchStart":371.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":525.0999999046326,"responseEnd":592.2999999523163,"responseStart":553,"secureConnectionStart":524.7999999523163},{"duration":912.2999999523163,"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":377,"connectEnd":377,"connectStart":377,"domainLookupEnd":377,"domainLookupStart":377,"fetchStart":377,"redirectEnd":0,"redirectStart":0,"requestStart":1087.0999999046326,"responseEnd":1289.2999999523163,"responseStart":1284.5,"secureConnectionStart":377},{"duration":912.7000000476837,"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":377,"connectEnd":377,"connectStart":377,"domainLookupEnd":377,"domainLookupStart":377,"fetchStart":377,"redirectEnd":0,"redirectStart":0,"requestStart":1087.2000000476837,"responseEnd":1289.7000000476837,"responseStart":1286,"secureConnectionStart":377},{"duration":323.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":918.0999999046326,"connectEnd":918.0999999046326,"connectStart":918.0999999046326,"domainLookupEnd":918.0999999046326,"domainLookupStart":918.0999999046326,"fetchStart":918.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1152.7000000476837,"responseEnd":1241.9000000953674,"responseStart":1240.2999999523163,"secureConnectionStart":918.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":210,"responseStart":361,"responseEnd":376,"domLoading":365,"domInteractive":1417,"domContentLoadedEventStart":1417,"domContentLoadedEventEnd":1458,"domComplete":2355,"loadEventStart":2355,"loadEventEnd":2356,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1397},{"name":"bigPipe.sidebar-id.end","time":1397.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1397.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1400.4000000953674},{"name":"activityTabFullyLoaded","time":1470.0999999046326}],"measures":[],"correlationId":"b4920a68eb3536","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":90,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}