--source include/have_innodb.inc
|
|
CREATE TABLE t1 (
|
pk INT AUTO_INCREMENT,
|
a INT,
|
b BINARY(100),
|
c INT AS (a) VIRTUAL,
|
d BINARY(100) AS (b) VIRTUAL,
|
e INT,
|
f INT,
|
row_start BIGINT UNSIGNED AS ROW START,
|
row_end BIGINT UNSIGNED AS ROW END,
|
PRIMARY KEY(pk),
|
KEY(b(64)),
|
PERIOD FOR SYSTEM_TIME(row_start,row_end)
|
) ENGINE=InnoDB WITH SYSTEM VERSIONING;
|
|
INSERT INTO t1 () VALUES (),();
|
|
SET STATEMENT system_versioning_alter_history=KEEP FOR ALTER TABLE t1 DROP f;
|
INSERT INTO t1 () VALUES ();
|
|
# Cleanup
|
DROP TABLE t1;
|
10.4 8a931e4d
|
mysqld: /data/src/10.4/storage/innobase/row/row0mysql.cc:1423: dberr_t row_insert_for_mysql(const byte*, row_prebuilt_t*, ins_mode_t): Assertion `table->vers_start != table->vers_end' failed.
|
200127 14:06:44 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f8d3ec9bf12 in __GI___assert_fail (assertion=0x559e904d0ae0 "table->vers_start != table->vers_end", file=0x559e904cfef8 "/data/src/10.4/storage/innobase/row/row0mysql.cc", line=1423, function=0x559e904d4120 <row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t)::__PRETTY_FUNCTION__> "dberr_t row_insert_for_mysql(const byte*, row_prebuilt_t*, ins_mode_t)") at assert.c:101
|
#8 0x0000559e8fc9301f in row_insert_for_mysql (mysql_rec=0x7f8cf01a15b0 "\377\003", prebuilt=0x7f8cf0189e18, ins_mode=ROW_INS_VERSIONED) at /data/src/10.4/storage/innobase/row/row0mysql.cc:1423
|
#9 0x0000559e8faed768 in ha_innobase::write_row (this=0x7f8cf019dfd8, record=0x7f8cf01a15b0 "\377\003") at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:8035
|
#10 0x0000559e8f8b0fc4 in handler::ha_write_row (this=0x7f8cf019dfd8, buf=0x7f8cf01a15b0 "\377\003") at /data/src/10.4/sql/handler.cc:6675
|
#11 0x0000559e8f4f6c3c in write_record (thd=0x7f8cf0000af0, table=0x7f8cf01a7110, info=0x7f8d3806b490) at /data/src/10.4/sql/sql_insert.cc:2056
|
#12 0x0000559e8f4f3ba7 in mysql_insert (thd=0x7f8cf0000af0, table_list=0x7f8cf0013280, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1078
|
#13 0x0000559e8f5420d3 in mysql_execute_command (thd=0x7f8cf0000af0) at /data/src/10.4/sql/sql_parse.cc:4529
|
#14 0x0000559e8f54e85d in mysql_parse (thd=0x7f8cf0000af0, rawbuf=0x7f8cf0013198 "INSERT INTO t1 () VALUES ()", length=27, parser_state=0x7f8d3806c160, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:7901
|
#15 0x0000559e8f539a2a in dispatch_command (command=COM_QUERY, thd=0x7f8cf0000af0, packet=0x7f8cf01376f1 "INSERT INTO t1 () VALUES ()", packet_length=27, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1842
|
#16 0x0000559e8f5380b7 in do_command (thd=0x7f8cf0000af0) at /data/src/10.4/sql/sql_parse.cc:1360
|
#17 0x0000559e8f6c10df in do_handle_one_connection (connect=0x559e9239bf60) at /data/src/10.4/sql/sql_connect.cc:1412
|
#18 0x0000559e8f6c0e2e in handle_one_connection (arg=0x559e9239bf60) at /data/src/10.4/sql/sql_connect.cc:1316
|
#19 0x0000559e900c93cd in pfs_spawn_thread (arg=0x559e923a4070) at /data/src/10.4/storage/perfschema/pfs.cc:1869
|
#20 0x00007f8d40c244a4 in start_thread (arg=0x7f8d3806d700) at pthread_create.c:456
|
#21 0x00007f8d3ed58d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
Reproducible on 10.4-10.5.
Not reproducible on 10.3.
No obvious effect on a non-debug build.
- relates to
-
MDEV-16226
TRX_ID-based System Versioning refactoring
-
-
Stalled
{"report":{"fcp":975.7000000476837,"ttfb":146.70000004768372,"pageVisibility":"visible","entityId":82685,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b8fffe04-cda3-454c-b96c-acffe77ca1bc","navigationType":0,"readyForUser":1039.2999999523163,"redirectCount":0,"resourceLoadedEnd":1329.2000000476837,"resourceLoadedStart":156.90000009536743,"resourceTiming":[{"duration":333.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":156.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":156.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":490.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":333.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":157.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":157.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":490.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":357.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":157.20000004768372,"connectEnd":157.20000004768372,"connectStart":157.20000004768372,"domainLookupEnd":157.20000004768372,"domainLookupStart":157.20000004768372,"fetchStart":157.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":157.20000004768372,"responseEnd":514.2999999523163,"responseStart":514.2999999523163,"secureConnectionStart":157.20000004768372},{"duration":429.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":157.29999995231628,"connectEnd":157.29999995231628,"connectStart":157.29999995231628,"domainLookupEnd":157.29999995231628,"domainLookupStart":157.29999995231628,"fetchStart":157.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":157.29999995231628,"responseEnd":587.2000000476837,"responseStart":587.2000000476837,"secureConnectionStart":157.29999995231628},{"duration":438.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":157.40000009536743,"connectEnd":157.40000009536743,"connectStart":157.40000009536743,"domainLookupEnd":157.40000009536743,"domainLookupStart":157.40000009536743,"fetchStart":157.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":157.40000009536743,"responseEnd":596,"responseStart":596,"secureConnectionStart":157.40000009536743},{"duration":438.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":157.59999990463257,"connectEnd":157.59999990463257,"connectStart":157.59999990463257,"domainLookupEnd":157.59999990463257,"domainLookupStart":157.59999990463257,"fetchStart":157.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":157.59999990463257,"responseEnd":596.5,"responseStart":596.5,"secureConnectionStart":157.59999990463257},{"duration":439.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":157.59999990463257,"connectEnd":157.59999990463257,"connectStart":157.59999990463257,"domainLookupEnd":157.59999990463257,"domainLookupStart":157.59999990463257,"fetchStart":157.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":157.59999990463257,"responseEnd":596.9000000953674,"responseStart":596.9000000953674,"secureConnectionStart":157.59999990463257},{"duration":448.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":157.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":157.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":606.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":439.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":157.79999995231628,"connectEnd":157.79999995231628,"connectStart":157.79999995231628,"domainLookupEnd":157.79999995231628,"domainLookupStart":157.79999995231628,"fetchStart":157.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":157.79999995231628,"responseEnd":597.2999999523163,"responseStart":597.2999999523163,"secureConnectionStart":157.79999995231628},{"duration":448.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":157.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":157.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":606.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":439.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":158.20000004768372,"connectEnd":158.20000004768372,"connectStart":158.20000004768372,"domainLookupEnd":158.20000004768372,"domainLookupStart":158.20000004768372,"fetchStart":158.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":158.20000004768372,"responseEnd":597.7999999523163,"responseStart":597.7000000476837,"secureConnectionStart":158.20000004768372},{"duration":649.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":158.79999995231628,"connectEnd":158.79999995231628,"connectStart":158.79999995231628,"domainLookupEnd":158.79999995231628,"domainLookupStart":158.79999995231628,"fetchStart":158.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":158.79999995231628,"responseEnd":808.5,"responseStart":808.5,"secureConnectionStart":158.79999995231628},{"duration":1170.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":158.90000009536743,"connectEnd":158.90000009536743,"connectStart":158.90000009536743,"domainLookupEnd":158.90000009536743,"domainLookupStart":158.90000009536743,"fetchStart":158.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":158.90000009536743,"responseEnd":1329.2000000476837,"responseStart":1329.2000000476837,"secureConnectionStart":158.90000009536743},{"duration":461.2000000476837,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":787.2000000476837,"connectEnd":787.2000000476837,"connectStart":787.2000000476837,"domainLookupEnd":787.2000000476837,"domainLookupStart":787.2000000476837,"fetchStart":787.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":787.2000000476837,"responseEnd":1248.4000000953674,"responseStart":1248.4000000953674,"secureConnectionStart":787.2000000476837},{"duration":375,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":955.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":955.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1330.4000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":2,"responseStart":147,"responseEnd":148,"domLoading":154,"domInteractive":1348,"domContentLoadedEventStart":1348,"domContentLoadedEventEnd":1382,"domComplete":2067,"loadEventStart":2067,"loadEventEnd":2068,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1333.4000000953674},{"name":"bigPipe.sidebar-id.end","time":1334.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1334.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":1336.5},{"name":"activityTabFullyLoaded","time":1388.2999999523163}],"measures":[],"correlationId":"38dd789a1df069","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":77,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}