Note: Run with --repeat=N. For me, N=5 has always been enough, but it can vary.
--source include/have_innodb.inc
|
--source include/have_partition.inc
|
|
CREATE TABLE t1 (
|
pk SERIAL,
|
d DATE,
|
vd DATE AS (d) VIRTUAL,
|
PRIMARY KEY(pk),
|
KEY (vd)
|
) ENGINE=InnoDB PARTITION BY HASH(pk) PARTITIONS 2;
|
|
INSERT IGNORE INTO t1 (d) VALUES ('2015-04-14');
|
SET sql_mode= '';
|
REPLACE INTO t1 SELECT * FROM t1;
|
|
# Cleanup
|
DROP TABLE t1;
|
10.3 5e7496e2eaf0
|
mysqld: /data/src/10.3/sql/table.h:1949: void TABLE_LIST::init_one_table(const LEX_CSTRING*, const LEX_CSTRING*, const LEX_CSTRING*, thr_lock_type): Assertion `!table_name_arg->str || strlen(table_name_arg->str) == table_name_arg->length' failed.
|
180814 23:32:33 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007fa998e94ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055ef8d9ce98c in TABLE_LIST::init_one_table (this=0x7fa96c00d2f8, db_arg=0x7fa97d7f7fb0, table_name_arg=0x7fa97d7f7fc0, alias_arg=0x0, lock_type_arg=TL_READ) at /data/src/10.3/sql/table.h:1949
|
#9 0x000055ef8da40011 in open_purge_table (thd=0x7fa96c000b00, db=0x7fa97d7f80a0 "test", dblen=4, tb=0x7fa97d7f8240 "t1", tblen=7) at /data/src/10.3/sql/sql_class.cc:4666
|
#10 0x000055ef8e0c672b in innodb_acquire_mdl (thd=0x7fa96c000b00, table=0x7fa9400a9b08) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:20738
|
#11 0x000055ef8e0c6926 in innodb_find_table_for_vc (thd=0x7fa96c000b00, table=0x7fa9400a9b08) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:20793
|
#12 0x000055ef8e0c6e99 in innobase_allocate_row_for_vcol (thd=0x7fa96c000b00, index=0x7fa94007a138, heap=0x7fa97d7f8670, table=0x7fa97d7f8680, record=0x7fa97d7f8688, storage=0x7fa97d7f8678) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:20947
|
#13 0x000055ef8e272324 in row_vers_build_clust_v_col (row=0x7fa96c0145f0, clust_index=0x7fa940078878, index=0x7fa94007a138, heap=0x7fa96c014520, vcol_info=0x55ef910d0208) at /data/src/10.3/storage/innobase/row/row0vers.cc:465
|
#14 0x000055ef8e2734b6 in row_vers_old_has_index_entry (also_curr=true, rec=0x7fa98e95807e "", mtr=0x7fa97d7f8ab0, index=0x7fa94007a138, ientry=0x7fa96c014038, roll_ptr=1407374904066874, trx_id=0, vcol_info=0x55ef910d0208) at /data/src/10.3/storage/innobase/row/row0vers.cc:959
|
#15 0x000055ef8e227cfe in row_purge_poss_sec (node=0x55ef910d0068, index=0x7fa94007a138, entry=0x7fa96c014038, sec_pcur=0x7fa97d7f9050, sec_mtr=0x7fa97d7f92b0, is_tree=false) at /data/src/10.3/storage/innobase/row/row0purge.cc:346
|
#16 0x000055ef8e2289d1 in row_purge_remove_sec_if_poss_leaf (node=0x55ef910d0068, index=0x7fa94007a138, entry=0x7fa96c014038) at /data/src/10.3/storage/innobase/row/row0purge.cc:597
|
#17 0x000055ef8e228eb9 in row_purge_remove_sec_if_poss (node=0x55ef910d0068, index=0x7fa94007a138, entry=0x7fa96c014038) at /data/src/10.3/storage/innobase/row/row0purge.cc:710
|
#18 0x000055ef8e2290c6 in row_purge_del_mark (node=0x55ef910d0068) at /data/src/10.3/storage/innobase/row/row0purge.cc:784
|
#19 0x000055ef8e22a5df in row_purge_record_func (node=0x55ef910d0068, undo_rec=0x55ef910d0618 "", thr=0x55ef910cfe98, updated_extern=false) at /data/src/10.3/storage/innobase/row/row0purge.cc:1178
|
#20 0x000055ef8e22a91c in row_purge (node=0x55ef910d0068, undo_rec=0x55ef910d0618 "", thr=0x55ef910cfe98) at /data/src/10.3/storage/innobase/row/row0purge.cc:1245
|
#21 0x000055ef8e22acca in row_purge_step (thr=0x55ef910cfe98) at /data/src/10.3/storage/innobase/row/row0purge.cc:1331
|
#22 0x000055ef8e1ae79c in que_thr_step (thr=0x55ef910cfe98) at /data/src/10.3/storage/innobase/que/que0que.cc:1046
|
#23 0x000055ef8e1ae9cf in que_run_threads_low (thr=0x55ef910cfe98) at /data/src/10.3/storage/innobase/que/que0que.cc:1108
|
#24 0x000055ef8e1aebc0 in que_run_threads (thr=0x55ef910cfe98) at /data/src/10.3/storage/innobase/que/que0que.cc:1148
|
#25 0x000055ef8e27bc01 in srv_task_execute () at /data/src/10.3/storage/innobase/srv/srv0srv.cc:2437
|
#26 0x000055ef8e27bda6 in srv_worker_thread (arg=0x0) at /data/src/10.3/storage/innobase/srv/srv0srv.cc:2485
|
#27 0x00007fa99ab6b494 in start_thread (arg=0x7fa97d7fa700) at pthread_create.c:333
|
#28 0x00007fa998f5193f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Not reproducible with the provided test case on 10.2.
No visible (immediate) effect on a non-debug build.
{"report":{"fcp":1304.9000000953674,"ttfb":353.10000014305115,"pageVisibility":"visible","entityId":69192,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"3130d800-dd9e-48fc-8b0d-506c5b51d7b5","navigationType":0,"readyForUser":1390.1000001430511,"redirectCount":0,"resourceLoadedEnd":1425.6000001430511,"resourceLoadedStart":358.7000000476837,"resourceTiming":[{"duration":421,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":358.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":358.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":779.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":421.2999999523163,"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":358.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":358.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":780.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":476.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":359.10000014305115,"connectEnd":359.10000014305115,"connectStart":359.10000014305115,"domainLookupEnd":359.10000014305115,"domainLookupStart":359.10000014305115,"fetchStart":359.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":359.10000014305115,"responseEnd":835.5,"responseStart":835.5,"secureConnectionStart":359.10000014305115},{"duration":548.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":359.30000019073486,"connectEnd":359.30000019073486,"connectStart":359.30000019073486,"domainLookupEnd":359.30000019073486,"domainLookupStart":359.30000019073486,"fetchStart":359.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":359.30000019073486,"responseEnd":907.8000001907349,"responseStart":907.8000001907349,"secureConnectionStart":359.30000019073486},{"duration":551.9000000953674,"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":359.5,"connectEnd":359.5,"connectStart":359.5,"domainLookupEnd":359.5,"domainLookupStart":359.5,"fetchStart":359.5,"redirectEnd":0,"redirectStart":0,"requestStart":359.5,"responseEnd":911.4000000953674,"responseStart":911.4000000953674,"secureConnectionStart":359.5},{"duration":552.1000001430511,"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":359.7000000476837,"connectEnd":359.7000000476837,"connectStart":359.7000000476837,"domainLookupEnd":359.7000000476837,"domainLookupStart":359.7000000476837,"fetchStart":359.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":359.7000000476837,"responseEnd":911.8000001907349,"responseStart":911.8000001907349,"secureConnectionStart":359.7000000476837},{"duration":552.2999999523163,"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":359.90000009536743,"connectEnd":359.90000009536743,"connectStart":359.90000009536743,"domainLookupEnd":359.90000009536743,"domainLookupStart":359.90000009536743,"fetchStart":359.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":359.90000009536743,"responseEnd":912.2000000476837,"responseStart":912.2000000476837,"secureConnectionStart":359.90000009536743},{"duration":622,"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":360.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":360.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":982.1000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":552.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":360.30000019073486,"connectEnd":360.30000019073486,"connectStart":360.30000019073486,"domainLookupEnd":360.30000019073486,"domainLookupStart":360.30000019073486,"fetchStart":360.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":360.30000019073486,"responseEnd":912.6000001430511,"responseStart":912.6000001430511,"secureConnectionStart":360.30000019073486},{"duration":621.7000000476837,"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":360.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":360.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":982.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":552.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":360.60000014305115,"connectEnd":360.60000014305115,"connectStart":360.60000014305115,"domainLookupEnd":360.60000014305115,"domainLookupStart":360.60000014305115,"fetchStart":360.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":360.60000014305115,"responseEnd":913.2000000476837,"responseStart":913.2000000476837,"secureConnectionStart":360.60000014305115},{"duration":1063.8000001907349,"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":361.5,"connectEnd":361.5,"connectStart":361.5,"domainLookupEnd":361.5,"domainLookupStart":361.5,"fetchStart":361.5,"redirectEnd":0,"redirectStart":0,"requestStart":361.5,"responseEnd":1425.3000001907349,"responseStart":1425.3000001907349,"secureConnectionStart":361.5},{"duration":1064,"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":361.60000014305115,"connectEnd":361.60000014305115,"connectStart":361.60000014305115,"domainLookupEnd":361.60000014305115,"domainLookupStart":361.60000014305115,"fetchStart":361.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":361.60000014305115,"responseEnd":1425.6000001430511,"responseStart":1425.6000001430511,"secureConnectionStart":361.60000014305115},{"duration":426.39999985694885,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":993.6000001430511,"connectEnd":993.6000001430511,"connectStart":993.6000001430511,"domainLookupEnd":993.6000001430511,"domainLookupStart":993.6000001430511,"fetchStart":993.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":993.6000001430511,"responseEnd":1420,"responseStart":1420,"secureConnectionStart":993.6000001430511},{"duration":157.10000014305115,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1297.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1297.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1454.8000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":178,"responseStart":353,"responseEnd":355,"domLoading":356,"domInteractive":1520,"domContentLoadedEventStart":1520,"domContentLoadedEventEnd":1560,"domComplete":1769,"loadEventStart":1769,"loadEventEnd":1769,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1497.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1498.6000001430511},{"name":"bigPipe.activity-panel-pipe-id.start","time":1498.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1499.7000000476837},{"name":"activityTabFullyLoaded","time":1571.1000001430511}],"measures":[],"correlationId":"45ac28588c3076","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":105,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Approved by Marko via IM