Access to our partitioned tables broke after upgrading from 10.0.3-1 to 10.0.5-1.
example:
MariaDB [aggregation_new]> describe blarf\G
|
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ALGORITHM = 2 */ (campaign_id)
|
PARTITIONS 8' at line 1
|
the "blarf" table is partitioned like: (from another server)
mysql> show create table udid \G
|
*************************** 1. row ***************************
|
Table: blarf
|
Create Table: CREATE TABLE `blarf` (
|
`blarf` char(40) NOT NULL,
|
`cuttle_id` int(10) unsigned NOT NULL COMMENT ' ',
|
`thing_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`conversion_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
PRIMARY KEY (`cuttle_id`,`blarf`),
|
KEY `thing_time_idx` (`thing_time`)
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
/*!50100 PARTITION BY KEY (cuttle_id)
|
PARTITIONS 8 */
|
1 row in set (0.00 sec)
|
We cannot select or update the "blarf" table or the other 2 partitioned tables. All 3 tables have the same partitioning scheme.
{"report":{"fcp":2966.2999997138977,"ttfb":689.8999996185303,"pageVisibility":"visible","entityId":26408,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"da3b5dda-3158-4046-9150-6c5839b82e5e","navigationType":0,"readyForUser":3119.199999809265,"redirectCount":0,"resourceLoadedEnd":3490.0999999046326,"resourceLoadedStart":700.5,"resourceTiming":[{"duration":701.6999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":700.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":700.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1402.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":702.0999999046326,"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":700.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":700.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1402.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":1076.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":700.8999996185303,"connectEnd":700.8999996185303,"connectStart":700.8999996185303,"domainLookupEnd":700.8999996185303,"domainLookupStart":700.8999996185303,"fetchStart":700.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1405.7999997138977,"responseEnd":1777.7999997138977,"responseStart":1441.0999999046326,"secureConnectionStart":700.8999996185303},{"duration":1307.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":701,"connectEnd":701,"connectStart":701,"domainLookupEnd":701,"domainLookupStart":701,"fetchStart":701,"redirectEnd":0,"redirectStart":0,"requestStart":1406,"responseEnd":2008.5,"responseStart":1442.3999996185303,"secureConnectionStart":701},{"duration":760.7000002861023,"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":701.2999997138977,"connectEnd":701.2999997138977,"connectStart":701.2999997138977,"domainLookupEnd":701.2999997138977,"domainLookupStart":701.2999997138977,"fetchStart":701.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1406.0999999046326,"responseEnd":1462,"responseStart":1444.0999999046326,"secureConnectionStart":701.2999997138977},{"duration":768.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":701.3999996185303,"connectEnd":701.3999996185303,"connectStart":701.3999996185303,"domainLookupEnd":701.3999996185303,"domainLookupStart":701.3999996185303,"fetchStart":701.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1406.6999998092651,"responseEnd":1469.8999996185303,"responseStart":1447,"secureConnectionStart":701.3999996185303},{"duration":769.1999998092651,"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":701.5999999046326,"connectEnd":701.5999999046326,"connectStart":701.5999999046326,"domainLookupEnd":701.5999999046326,"domainLookupStart":701.5999999046326,"fetchStart":701.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1407.2999997138977,"responseEnd":1470.7999997138977,"responseStart":1447.8999996185303,"secureConnectionStart":701.5999999046326},{"duration":702.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":701.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":701.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1404.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":775.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":701.8999996185303,"connectEnd":701.8999996185303,"connectStart":701.8999996185303,"domainLookupEnd":701.8999996185303,"domainLookupStart":701.8999996185303,"fetchStart":701.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1415,"responseEnd":1477.5999999046326,"responseStart":1456.1999998092651,"secureConnectionStart":701.8999996185303},{"duration":704.5,"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":702.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":702.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1406.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":776.5999999046326,"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":702.1999998092651,"connectEnd":702.1999998092651,"connectStart":702.1999998092651,"domainLookupEnd":702.1999998092651,"domainLookupStart":702.1999998092651,"fetchStart":702.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1421.5,"responseEnd":1478.7999997138977,"responseStart":1457.0999999046326,"secureConnectionStart":702.1999998092651},{"duration":1434.5,"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":703.1999998092651,"connectEnd":703.1999998092651,"connectStart":703.1999998092651,"domainLookupEnd":703.1999998092651,"domainLookupStart":703.1999998092651,"fetchStart":703.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":2074.3999996185303,"responseEnd":2137.699999809265,"responseStart":2122.5999999046326,"secureConnectionStart":703.1999998092651},{"duration":2781.4000000953674,"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":708.6999998092651,"connectEnd":708.6999998092651,"connectStart":708.6999998092651,"domainLookupEnd":708.6999998092651,"domainLookupStart":708.6999998092651,"fetchStart":708.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":3477.699999809265,"responseEnd":3490.0999999046326,"responseStart":3488.7999997138977,"secureConnectionStart":708.6999998092651},{"duration":516.5999999046326,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1989.5,"connectEnd":1989.5,"connectStart":1989.5,"domainLookupEnd":1989.5,"domainLookupStart":1989.5,"fetchStart":1989.5,"redirectEnd":0,"redirectStart":0,"requestStart":2472.3999996185303,"responseEnd":2506.0999999046326,"responseStart":2505.2999997138977,"secureConnectionStart":1989.5},{"duration":817.8999996185303,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2706,"connectEnd":2706,"connectStart":2706,"domainLookupEnd":2706,"domainLookupStart":2706,"fetchStart":2706,"redirectEnd":0,"redirectStart":0,"requestStart":3489.2999997138977,"responseEnd":3523.8999996185303,"responseStart":3521.7999997138977,"secureConnectionStart":2706}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":514,"responseStart":690,"responseEnd":697,"domLoading":698,"domInteractive":3609,"domContentLoadedEventStart":3609,"domContentLoadedEventEnd":3653,"domComplete":4577,"loadEventStart":4577,"loadEventEnd":4577,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3567.5999999046326},{"name":"bigPipe.sidebar-id.end","time":3568.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":3568.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.end","time":3569.5999999046326},{"name":"activityTabFullyLoaded","time":3669.2999997138977}],"measures":[],"correlationId":"b74742b7b2bf71","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":89,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Note that I was able to restore the DB using a MySQLdump from another server, and it worked fine.
So it would appear to be some sort of innodb version-compatibility or migration issue.
It is a large DB that takes 1/2 day to restore so it would be difficult to reproduce. Also, I don't know where to get old versions of MariaDB in RPM format.