Type:
Bug
Priority:
Major
Resolution:
Unresolved
Affects Version/s:
10.11.11 , 10.7(EOL) , 10.11 , 11.4 , 11.8
Environment:
RHEL9, x86_64, all MariaDB-provider-* packages installed
1. Install various MariaDB-provider packages to use alternate compression providers.
2. INSTALL SONAME 'provider_lz4' to dynamically install LZ4 provider.
3. Set innodb_compression_algorithm = lz4 in my.cnf.
4. Restart server.
Upon restart, InnoDB will refuse to open the table with this issued:
2025-02-23 20:56:44 0 [Note] Starting MariaDB 10.11.11-MariaDB-log source revision e69f8cae1a15e15b9e4f5e0f8497e1f17bdc81a4 server_uid DeBx1XoL8rQgRwze1xXPp+SNdRU= as process 3589060
2025-02-23 20:56:44 0 [ERROR] mariadbd: InnoDB: compression algorithm lz4 (2) is not available. Please, load the corresponding provider plugin.
2025-02-23 20:56:44 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2025-02-23 20:56:44 0 [Note] Plugin 'FEEDBACK' is disabled.
2025-02-23 20:56:44 0 [Warning] 'innodb-thread-concurrency' was removed. It does nothing now and exists only for compatibility with old my.cnf files.
2025-02-23 20:56:44 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2025-02-23 20:56:44 0 [ERROR] Aborting
The only way to fix this is to use --plugin-load=provider_lz4 or add plugin_load = provider_lz4 to my.cnf before starting up mariadb.
Even though the server already knows that plugin is installed:
> select * from mysql.plugin;
+--------------+-----------------+
| name | dl |
+--------------+-----------------+
| provider_lz4 | provider_lz4.so |
+--------------+-----------------+
1 row in set (0.001 sec)
It will not actually make it available until the server has fully started. If one changes my.cnf to use innodb_compression_algorithm = zlib or simply removes it, the server will startup fine and the lz4 provider will be available for use, loading InnoDB tables successfully, however compression will then be configured for zlib unless one changes it dynamically after startup.
Note: as a side-effect of forcing plugin_load=provider_lz4 in my.cnf, the server will also emit:
2025-02-23 20:56:57 0 [Note] mariadbd: Plugin 'provider_lz4' already installed
on startup as it tries to load the plugins defined in mysql.plugin
{"report":{"fcp":1118.0999999046326,"ttfb":361.19999980926514,"pageVisibility":"visible","entityId":132957,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"96b9338a-0b89-4204-88d6-fbfffee59532","navigationType":0,"readyForUser":1204,"redirectCount":0,"resourceLoadedEnd":2287.699999809265,"resourceLoadedStart":368.69999980926514,"resourceTiming":[{"duration":126,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":368.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":368.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":494.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":126.09999990463257,"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,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":369,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":495.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":184.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":369.09999990463257,"connectEnd":369.09999990463257,"connectStart":369.09999990463257,"domainLookupEnd":369.09999990463257,"domainLookupStart":369.09999990463257,"fetchStart":369.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":369.09999990463257,"responseEnd":553.3000001907349,"responseStart":553.3000001907349,"secureConnectionStart":369.09999990463257},{"duration":280.2999997138977,"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":369.30000019073486,"connectEnd":369.30000019073486,"connectStart":369.30000019073486,"domainLookupEnd":369.30000019073486,"domainLookupStart":369.30000019073486,"fetchStart":369.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":369.30000019073486,"responseEnd":649.5999999046326,"responseStart":649.5999999046326,"secureConnectionStart":369.30000019073486},{"duration":284.09999990463257,"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":369.5,"connectEnd":369.5,"connectStart":369.5,"domainLookupEnd":369.5,"domainLookupStart":369.5,"fetchStart":369.5,"redirectEnd":0,"redirectStart":0,"requestStart":369.5,"responseEnd":653.5999999046326,"responseStart":653.5999999046326,"secureConnectionStart":369.5},{"duration":284.5,"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":369.69999980926514,"connectEnd":369.69999980926514,"connectStart":369.69999980926514,"domainLookupEnd":369.69999980926514,"domainLookupStart":369.69999980926514,"fetchStart":369.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":369.69999980926514,"responseEnd":654.1999998092651,"responseStart":654.1999998092651,"secureConnectionStart":369.69999980926514},{"duration":285.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":370,"connectEnd":370,"connectStart":370,"domainLookupEnd":370,"domainLookupStart":370,"fetchStart":370,"redirectEnd":0,"redirectStart":0,"requestStart":370,"responseEnd":655.4000000953674,"responseStart":655.4000000953674,"secureConnectionStart":370},{"duration":338.90000009536743,"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.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":370.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":709,"responseStart":0,"secureConnectionStart":0},{"duration":285.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":370.30000019073486,"connectEnd":370.30000019073486,"connectStart":370.30000019073486,"domainLookupEnd":370.30000019073486,"domainLookupStart":370.30000019073486,"fetchStart":370.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":370.30000019073486,"responseEnd":655.8000001907349,"responseStart":655.8000001907349,"secureConnectionStart":370.30000019073486},{"duration":338.69999980926514,"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":370.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":370.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":709.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":287,"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":370.59999990463257,"connectEnd":370.59999990463257,"connectStart":370.59999990463257,"domainLookupEnd":370.59999990463257,"domainLookupStart":370.59999990463257,"fetchStart":370.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":370.59999990463257,"responseEnd":657.5999999046326,"responseStart":657.5999999046326,"secureConnectionStart":370.59999990463257},{"duration":1915.4000000953674,"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":371.40000009536743,"connectEnd":371.40000009536743,"connectStart":371.40000009536743,"domainLookupEnd":371.40000009536743,"domainLookupStart":371.40000009536743,"fetchStart":371.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":371.40000009536743,"responseEnd":2286.800000190735,"responseStart":2286.800000190735,"secureConnectionStart":371.40000009536743},{"duration":1912.0999999046326,"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":375.59999990463257,"connectEnd":375.59999990463257,"connectStart":375.59999990463257,"domainLookupEnd":375.59999990463257,"domainLookupStart":375.59999990463257,"fetchStart":375.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":375.59999990463257,"responseEnd":2287.699999809265,"responseStart":2287.699999809265,"secureConnectionStart":375.59999990463257},{"duration":675.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":727.1999998092651,"connectEnd":727.1999998092651,"connectStart":727.1999998092651,"domainLookupEnd":727.1999998092651,"domainLookupStart":727.1999998092651,"fetchStart":727.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":727.1999998092651,"responseEnd":1402.6999998092651,"responseStart":1402.6999998092651,"secureConnectionStart":727.1999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":212,"responseStart":361,"responseEnd":368,"domLoading":366,"domInteractive":2323,"domContentLoadedEventStart":2323,"domContentLoadedEventEnd":2376,"domComplete":4149,"loadEventStart":4150,"loadEventEnd":4151,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2290.699999809265},{"name":"bigPipe.sidebar-id.end","time":2291.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":2291.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":2294.0999999046326},{"name":"activityTabFullyLoaded","time":2385.5}],"measures":[],"correlationId":"39005748eeafd2","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":88,"dbReadsTimeInMs":9,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}