Quoting the previous issue, as it still produces the same error:
Creating a system-versioned table with row version by trx id works as described in the KB. However when I add partitions to separate current and historic data, I get an error.
The CREATE TABLE statement:
CREATE TABLE sbtest1 (
|
id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
|
k INTEGER UNSIGNED DEFAULT '0' NOT NULL,
|
c CHAR(120) DEFAULT '' NOT NULL,
|
pad CHAR(60) DEFAULT '' NOT NULL,
|
start_trxid BIGINT UNSIGNED GENERATED ALWAYS AS ROW START,
|
end_trxid BIGINT UNSIGNED GENERATED ALWAYS AS ROW END,
|
PERIOD FOR SYSTEM_TIME(start_trxid, end_trxid),
|
PRIMARY KEY (id),
|
INDEX k_ (k)
|
) ENGINE=InnoDB WITH SYSTEM VERSIONING PARTITION BY SYSTEM_TIME (
|
PARTITION p_hist HISTORY,
|
PARTITION p_cur CURRENT
|
)
|
and the error message:
ERROR 4110 (HY000): `start_trxid` must be of type TIMESTAMP(6)
|
for system-versioned table `sbtest1`
|
If partitioning isn't supposed to work with trx ids, this should be documented.
No workflow transitions have been executed yet.
{"report":{"fcp":1918.0999999046326,"ttfb":911.0999999046326,"pageVisibility":"visible","entityId":78051,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"29c7fb6d-ea34-4590-80d2-577186bd63fc","navigationType":0,"readyForUser":2016.3999996185303,"redirectCount":0,"resourceLoadedEnd":2061,"resourceLoadedStart":931.0999999046326,"resourceTiming":[{"duration":447.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":931.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":931.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1378.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":447.80000019073486,"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":931.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":931.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1379.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":507.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":931.5,"connectEnd":931.5,"connectStart":931.5,"domainLookupEnd":931.5,"domainLookupStart":931.5,"fetchStart":931.5,"redirectEnd":0,"redirectStart":0,"requestStart":931.5,"responseEnd":1438.8999996185303,"responseStart":1438.8999996185303,"secureConnectionStart":931.5},{"duration":586.4000000953674,"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":931.6999998092651,"connectEnd":931.6999998092651,"connectStart":931.6999998092651,"domainLookupEnd":931.6999998092651,"domainLookupStart":931.6999998092651,"fetchStart":931.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":931.6999998092651,"responseEnd":1518.0999999046326,"responseStart":1518.0999999046326,"secureConnectionStart":931.6999998092651},{"duration":590.8999996185303,"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":932,"connectEnd":932,"connectStart":932,"domainLookupEnd":932,"domainLookupStart":932,"fetchStart":932,"redirectEnd":0,"redirectStart":0,"requestStart":932,"responseEnd":1522.8999996185303,"responseStart":1522.8999996185303,"secureConnectionStart":932},{"duration":591.1999998092651,"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":932.1999998092651,"connectEnd":932.1999998092651,"connectStart":932.1999998092651,"domainLookupEnd":932.1999998092651,"domainLookupStart":932.1999998092651,"fetchStart":932.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":932.1999998092651,"responseEnd":1523.3999996185303,"responseStart":1523.3999996185303,"secureConnectionStart":932.1999998092651},{"duration":591.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":932.2999997138977,"connectEnd":932.2999997138977,"connectStart":932.2999997138977,"domainLookupEnd":932.2999997138977,"domainLookupStart":932.2999997138977,"fetchStart":932.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":932.2999997138977,"responseEnd":1523.7999997138977,"responseStart":1523.7999997138977,"secureConnectionStart":932.2999997138977},{"duration":656.9000000953674,"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":932.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":932.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1589.5,"responseStart":0,"secureConnectionStart":0},{"duration":591.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":932.6999998092651,"connectEnd":932.6999998092651,"connectStart":932.6999998092651,"domainLookupEnd":932.6999998092651,"domainLookupStart":932.6999998092651,"fetchStart":932.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":932.6999998092651,"responseEnd":1524.2999997138977,"responseStart":1524.2999997138977,"secureConnectionStart":932.6999998092651},{"duration":656.8000001907349,"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":932.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":932.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1589.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":592.4000000953674,"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":933.0999999046326,"connectEnd":933.0999999046326,"connectStart":933.0999999046326,"domainLookupEnd":933.0999999046326,"domainLookupStart":933.0999999046326,"fetchStart":933.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":933.0999999046326,"responseEnd":1525.5,"responseStart":1525.5,"secureConnectionStart":933.0999999046326},{"duration":838.3999996185303,"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":934,"connectEnd":934,"connectStart":934,"domainLookupEnd":934,"domainLookupStart":934,"fetchStart":934,"redirectEnd":0,"redirectStart":0,"requestStart":934,"responseEnd":1772.3999996185303,"responseStart":1772.3999996185303,"secureConnectionStart":934},{"duration":1109.6999998092651,"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":934.0999999046326,"connectEnd":934.0999999046326,"connectStart":934.0999999046326,"domainLookupEnd":934.0999999046326,"domainLookupStart":934.0999999046326,"fetchStart":934.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":934.0999999046326,"responseEnd":2043.7999997138977,"responseStart":2043.7999997138977,"secureConnectionStart":934.0999999046326},{"duration":170.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1609.2999997138977,"connectEnd":1609.2999997138977,"connectStart":1609.2999997138977,"domainLookupEnd":1609.2999997138977,"domainLookupStart":1609.2999997138977,"fetchStart":1609.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1609.2999997138977,"responseEnd":1779.7999997138977,"responseStart":1779.6999998092651,"secureConnectionStart":1609.2999997138977},{"duration":186.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/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&whisper-enabled=true","startTime":1871,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1871,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2057.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":185.7999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1871.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1871.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2057.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":188.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1872.2999997138977,"connectEnd":1872.2999997138977,"connectStart":1872.2999997138977,"domainLookupEnd":1872.2999997138977,"domainLookupStart":1872.2999997138977,"fetchStart":1872.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1872.2999997138977,"responseEnd":2061,"responseStart":2061,"secureConnectionStart":1872.2999997138977},{"duration":195.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/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.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1872.6999998092651,"connectEnd":1872.6999998092651,"connectStart":1872.6999998092651,"domainLookupEnd":1872.6999998092651,"domainLookupStart":1872.6999998092651,"fetchStart":1872.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1872.6999998092651,"responseEnd":2068.2999997138977,"responseStart":2068.2999997138977,"secureConnectionStart":1872.6999998092651},{"duration":196.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1873.0999999046326,"connectEnd":1873.0999999046326,"connectStart":1873.0999999046326,"domainLookupEnd":1873.0999999046326,"domainLookupStart":1873.0999999046326,"fetchStart":1873.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1873.0999999046326,"responseEnd":2069.8999996185303,"responseStart":2069.8999996185303,"secureConnectionStart":1873.0999999046326},{"duration":250.19999980926514,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1911.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1911.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2161.699999809265,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":745,"responseStart":911,"responseEnd":913,"domLoading":928,"domInteractive":2068,"domContentLoadedEventStart":2068,"domContentLoadedEventEnd":2111,"domComplete":2482,"loadEventStart":2482,"loadEventEnd":2483,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2058},{"name":"bigPipe.sidebar-id.end","time":2058.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":2059},{"name":"bigPipe.activity-panel-pipe-id.end","time":2059.3999996185303},{"name":"activityTabFullyLoaded","time":2167.0999999046326}],"measures":[],"correlationId":"8b28e740534722","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":107,"dbReadsTimeInMs":23,"dbConnsTimeInMs":33,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}