Run the test case with --mysqld=--lock-wait-timeout=2 --repeat=50 --mem.
--source include/have_innodb.inc
|
|
CREATE TABLE t1 (y YEAR, vy YEAR AS (y) VIRTUAL, pk INT, PRIMARY KEY(pk), UNIQUE(vy)) ENGINE=InnoDB;
|
|
INSERT IGNORE INTO t1 (pk,y) VALUES (1,2022);
|
REPLACE INTO t1 (pk,y) SELECT pk,y FROM t1;
|
ALTER TABLE t1 ENGINE=InnoDB;
|
REPLACE INTO t1 (pk,y) SELECT pk,y FROM t1;
|
TRUNCATE TABLE t1;
|
|
# Cleanup
|
DROP TABLE t1;
|
10.3 18e8d420b796
|
mysqld: /data/src/10.3/storage/innobase/handler/ha_innodb.cc:21079: dfield_t* innobase_get_computed_value(const dtuple_t*, const dict_v_col_t*, const dict_index_t*, mem_heap_t**, mem_heap_t*, const dict_field_t*, THD*, TABLE*, const dict_table_t*, upd_t*, dict_foreign_t*): Assertion `mysql_table' failed.
|
180412 21:12:28 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007ff408cd1ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x0000559e7ce7dbef in innobase_get_computed_value (row=0x7ff3cc015dd0, col=0x7ff3ac075198, index=0x7ff3ac1738f8, local_heap=0x7ff3ecff7990, heap=0x7ff3cc015d00, ifield=0x0, thd=0x7ff3cc000b00, mysql_table=0x0, old_table=0x0, parent_update=0x0, foreign=0x0) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:21079
|
#9 0x0000559e7d0281bd in row_vers_build_clust_v_col (row=0x7ff3cc015dd0, clust_index=0x7ff3ac1738f8, index=0x7ff3ac174658, heap=0x7ff3cc015d00) at /data/src/10.3/storage/innobase/row/row0vers.cc:473
|
#10 0x0000559e7d0291dc in row_vers_old_has_index_entry (also_curr=1, rec=0x7ff3fe76c07e "\200", mtr=0x7ff3ecff7ac0, index=0x7ff3ac174658, ientry=0x7ff3cc0144e8, roll_ptr=3940649694921243, trx_id=0) at /data/src/10.3/storage/innobase/row/row0vers.cc:921
|
#11 0x0000559e7cfdda78 in row_purge_poss_sec (node=0x559e7f8df308, index=0x7ff3ac174658, entry=0x7ff3cc0144e8) at /data/src/10.3/storage/innobase/row/row0purge.cc:265
|
#12 0x0000559e7cfde2a5 in row_purge_remove_sec_if_poss_leaf (node=0x559e7f8df308, index=0x7ff3ac174658, entry=0x7ff3cc0144e8) at /data/src/10.3/storage/innobase/row/row0purge.cc:477
|
#13 0x0000559e7cfde75e in row_purge_remove_sec_if_poss (node=0x559e7f8df308, index=0x7ff3ac174658, entry=0x7ff3cc0144e8) at /data/src/10.3/storage/innobase/row/row0purge.cc:584
|
#14 0x0000559e7cfde95b in row_purge_del_mark (node=0x559e7f8df308) at /data/src/10.3/storage/innobase/row/row0purge.cc:654
|
#15 0x0000559e7cfdfdc7 in row_purge_record_func (node=0x559e7f8df308, undo_rec=0x559e7f8df8b8 "", thr=0x559e7f8df138, updated_extern=false) at /data/src/10.3/storage/innobase/row/row0purge.cc:1043
|
#16 0x0000559e7cfe00e4 in row_purge (node=0x559e7f8df308, undo_rec=0x559e7f8df8b8 "", thr=0x559e7f8df138) at /data/src/10.3/storage/innobase/row/row0purge.cc:1108
|
#17 0x0000559e7cfe03e5 in row_purge_step (thr=0x559e7f8df138) at /data/src/10.3/storage/innobase/row/row0purge.cc:1187
|
#18 0x0000559e7cf646cc in que_thr_step (thr=0x559e7f8df138) at /data/src/10.3/storage/innobase/que/que0que.cc:1051
|
#19 0x0000559e7cf648ff in que_run_threads_low (thr=0x559e7f8df138) at /data/src/10.3/storage/innobase/que/que0que.cc:1113
|
#20 0x0000559e7cf64af0 in que_run_threads (thr=0x559e7f8df138) at /data/src/10.3/storage/innobase/que/que0que.cc:1153
|
#21 0x0000559e7d031916 in srv_task_execute () at /data/src/10.3/storage/innobase/srv/srv0srv.cc:2485
|
#22 0x0000559e7d031abb in srv_worker_thread (arg=0x0) at /data/src/10.3/storage/innobase/srv/srv0srv.cc:2533
|
#23 0x00007ff40a9a8494 in start_thread (arg=0x7ff3ecff9700) at pthread_create.c:333
|
#24 0x00007ff408d8e93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Couldn't reproduce on 10.2.
See comments for the test case which affects non-debug build.
{"report":{"fcp":1091.6999998092651,"ttfb":285.39999985694885,"pageVisibility":"visible","entityId":66809,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"430f16f8-5994-4506-96ee-eaf8c55ecd17","navigationType":0,"readyForUser":1202.5,"redirectCount":0,"resourceLoadedEnd":1044.0999999046326,"resourceLoadedStart":290.7999999523163,"resourceTiming":[{"duration":301.89999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":290.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":290.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":592.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":302,"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":291.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":291.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":593.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":311.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":291.19999980926514,"connectEnd":291.19999980926514,"connectStart":291.19999980926514,"domainLookupEnd":291.19999980926514,"domainLookupStart":291.19999980926514,"fetchStart":291.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":291.19999980926514,"responseEnd":602.2999999523163,"responseStart":602.2999999523163,"secureConnectionStart":291.19999980926514},{"duration":386.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":291.39999985694885,"connectEnd":291.39999985694885,"connectStart":291.39999985694885,"domainLookupEnd":291.39999985694885,"domainLookupStart":291.39999985694885,"fetchStart":291.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":291.39999985694885,"responseEnd":677.8999998569489,"responseStart":677.8999998569489,"secureConnectionStart":291.39999985694885},{"duration":390.7000000476837,"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":291.59999990463257,"connectEnd":291.59999990463257,"connectStart":291.59999990463257,"domainLookupEnd":291.59999990463257,"domainLookupStart":291.59999990463257,"fetchStart":291.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":291.59999990463257,"responseEnd":682.2999999523163,"responseStart":682.2999999523163,"secureConnectionStart":291.59999990463257},{"duration":391,"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":291.7999999523163,"connectEnd":291.7999999523163,"connectStart":291.7999999523163,"domainLookupEnd":291.7999999523163,"domainLookupStart":291.7999999523163,"fetchStart":291.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":291.7999999523163,"responseEnd":682.7999999523163,"responseStart":682.7999999523163,"secureConnectionStart":291.7999999523163},{"duration":391.09999990463257,"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":292,"connectEnd":292,"connectStart":292,"domainLookupEnd":292,"domainLookupStart":292,"fetchStart":292,"redirectEnd":0,"redirectStart":0,"requestStart":292,"responseEnd":683.0999999046326,"responseStart":683.0999999046326,"secureConnectionStart":292},{"duration":458,"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":292.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":292.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":750.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":391.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":292.19999980926514,"connectEnd":292.19999980926514,"connectStart":292.19999980926514,"domainLookupEnd":292.19999980926514,"domainLookupStart":292.19999980926514,"fetchStart":292.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":292.19999980926514,"responseEnd":683.8999998569489,"responseStart":683.8999998569489,"secureConnectionStart":292.19999980926514},{"duration":457.90000009536743,"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":292.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":292.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":750.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":391.7999999523163,"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":292.59999990463257,"connectEnd":292.59999990463257,"connectStart":292.59999990463257,"domainLookupEnd":292.59999990463257,"domainLookupStart":292.59999990463257,"fetchStart":292.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":292.59999990463257,"responseEnd":684.3999998569489,"responseStart":684.3999998569489,"secureConnectionStart":292.59999990463257},{"duration":507.60000014305115,"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":300.39999985694885,"connectEnd":300.39999985694885,"connectStart":300.39999985694885,"domainLookupEnd":300.39999985694885,"domainLookupStart":300.39999985694885,"fetchStart":300.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":300.39999985694885,"responseEnd":808,"responseStart":808,"secureConnectionStart":300.39999985694885},{"duration":537.5999999046326,"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":300.5,"connectEnd":300.5,"connectStart":300.5,"domainLookupEnd":300.5,"domainLookupStart":300.5,"fetchStart":300.5,"redirectEnd":0,"redirectStart":0,"requestStart":300.5,"responseEnd":838.0999999046326,"responseStart":838.0999999046326,"secureConnectionStart":300.5},{"duration":46.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":762.0999999046326,"connectEnd":762.0999999046326,"connectStart":762.0999999046326,"domainLookupEnd":762.0999999046326,"domainLookupStart":762.0999999046326,"fetchStart":762.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":762.0999999046326,"responseEnd":808.5,"responseStart":808.5,"secureConnectionStart":762.0999999046326},{"duration":232,"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":811.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":811.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1043.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":231.20000004768372,"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":812.8999998569489,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":812.8999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1044.0999999046326,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":83,"responseStart":286,"responseEnd":291,"domLoading":289,"domInteractive":1320,"domContentLoadedEventStart":1320,"domContentLoadedEventEnd":1399,"domComplete":2280,"loadEventStart":2280,"loadEventEnd":2281,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1290.5},{"name":"bigPipe.sidebar-id.end","time":1291.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1291.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1292.7999999523163},{"name":"activityTabFullyLoaded","time":1421.2999999523163}],"measures":[],"correlationId":"a8791dbb83945f","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":134,"dbReadsTimeInMs":45,"dbConnsTimeInMs":55,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}