--source include/have_partition.inc
|
|
CREATE TABLE t1 (id int, a varchar(8)) WITH SYSTEM VERSIONING PARTITION BY key (id) PARTITIONS 2;
|
INSERT INTO t1 VALUES (1,'foo'),(2,'bar');
|
|
CREATE TABLE t2 (b INT);
|
INSERT INTO t2 VALUES (1),(2);
|
|
UPDATE t1, t2 SET a = 1;
|
|
# Cleanup
|
DROP TABLE t1, t2;
|
10.3 c4ed1bee
|
mysqld: /data/src/10.3/sql/ha_partition.cc:9230: void ha_partition::late_extra_cache(uint): Assertion `m_extra_cache' failed.
|
191205 13:40:05 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007fc66b0a5f12 in __GI___assert_fail (assertion=0x5570e4e2737c "m_extra_cache", file=0x5570e4e24740 "/data/src/10.3/sql/ha_partition.cc", line=9230, function=0x5570e4e29340 <ha_partition::late_extra_cache(unsigned int)::__PRETTY_FUNCTION__> "void ha_partition::late_extra_cache(uint)") at assert.c:101
|
#8 0x00005570e49c405a in ha_partition::late_extra_cache (this=0x7fc654097ab8, partition_id=1) at /data/src/10.3/sql/ha_partition.cc:9230
|
#9 0x00005570e49b9032 in ha_partition::rnd_next (this=0x7fc654097ab8, buf=0x7fc654097678 "\374\001") at /data/src/10.3/sql/ha_partition.cc:5111
|
#10 0x00005570e4192aca in handler::ha_rnd_next (this=0x7fc654097ab8, buf=0x7fc654097678 "\374\001") at /data/src/10.3/sql/handler.cc:2840
|
#11 0x00005570e43244f4 in rr_sequential (info=0x7fc654016860) at /data/src/10.3/sql/records.cc:477
|
#12 0x00005570e3dd5405 in READ_RECORD::read_record (this=0x7fc654016860) at /data/src/10.3/sql/records.h:69
|
#13 0x00005570e3eee442 in sub_select (join=0x7fc654013db0, join_tab=0x7fc654016798, end_of_records=false) at /data/src/10.3/sql/sql_select.cc:19584
|
#14 0x00005570e3eed803 in do_select (join=0x7fc654013db0, procedure=0x0) at /data/src/10.3/sql/sql_select.cc:19105
|
#15 0x00005570e3ec49fb in JOIN::exec_inner (this=0x7fc654013db0) at /data/src/10.3/sql/sql_select.cc:4079
|
#16 0x00005570e3ec3dce in JOIN::exec (this=0x7fc654013db0) at /data/src/10.3/sql/sql_select.cc:3873
|
#17 0x00005570e3ec50df in mysql_select (thd=0x7fc654000af0, tables=0x7fc6540128f0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7fc654013868, unit=0x7fc6540049c0, select_lex=0x7fc654005148) at /data/src/10.3/sql/sql_select.cc:4278
|
#18 0x00005570e3f7c228 in mysql_multi_update (thd=0x7fc654000af0, table_list=0x7fc6540128f0, fields=0x7fc654005270, values=0x7fc654005778, conds=0x0, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7fc6540049c0, select_lex=0x7fc654005148, result=0x7fc6652a3fd0) at /data/src/10.3/sql/sql_update.cc:1799
|
#19 0x00005570e3e768fd in mysql_execute_command (thd=0x7fc654000af0) at /data/src/10.3/sql/sql_parse.cc:4370
|
#20 0x00005570e3e825e3 in mysql_parse (thd=0x7fc654000af0, rawbuf=0x7fc654012818 "UPDATE t1, t2 SET a = 1", length=23, parser_state=0x7fc6652a45e0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7818
|
#21 0x00005570e3e6f12f in dispatch_command (command=COM_QUERY, thd=0x7fc654000af0, packet=0x7fc6541234b1 "UPDATE t1, t2 SET a = 1", packet_length=23, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1856
|
#22 0x00005570e3e6da77 in do_command (thd=0x7fc654000af0) at /data/src/10.3/sql/sql_parse.cc:1401
|
#23 0x00005570e3fe4ea8 in do_handle_one_connection (connect=0x5570e77d37f0) at /data/src/10.3/sql/sql_connect.cc:1403
|
#24 0x00005570e3fe4c0a in handle_one_connection (arg=0x5570e77d37f0) at /data/src/10.3/sql/sql_connect.cc:1308
|
#25 0x00005570e499283c in pfs_spawn_thread (arg=0x5570e771ddd0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
|
#26 0x00007fc66cc1b4a4 in start_thread (arg=0x7fc6652a5700) at pthread_create.c:456
|
#27 0x00007fc66b162d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
Reproducible on 10.3-10.5.
No obvious immediate effect on a non-debug build.
The failure appeared recently on 10.3 branch, I didn't bisect for the exact revision.
{"report":{"fcp":847.6999998092651,"ttfb":204.10000038146973,"pageVisibility":"visible","entityId":80957,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"267a2246-c769-44f5-af96-c4f917872d84","navigationType":0,"readyForUser":941.3000001907349,"redirectCount":0,"resourceLoadedEnd":949,"resourceLoadedStart":209.69999980926514,"resourceTiming":[{"duration":191.9000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":209.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":401.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":192,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":209.89999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":401.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":200.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":210.19999980926514,"connectEnd":210.19999980926514,"connectStart":210.19999980926514,"domainLookupEnd":210.19999980926514,"domainLookupStart":210.19999980926514,"fetchStart":210.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":210.19999980926514,"responseEnd":411,"responseStart":411,"secureConnectionStart":210.19999980926514},{"duration":226.89999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":210.30000019073486,"connectEnd":210.30000019073486,"connectStart":210.30000019073486,"domainLookupEnd":210.30000019073486,"domainLookupStart":210.30000019073486,"fetchStart":210.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":210.30000019073486,"responseEnd":437.19999980926514,"responseStart":437.19999980926514,"secureConnectionStart":210.30000019073486},{"duration":230.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":210.39999961853027,"connectEnd":210.39999961853027,"connectStart":210.39999961853027,"domainLookupEnd":210.39999961853027,"domainLookupStart":210.39999961853027,"fetchStart":210.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":210.39999961853027,"responseEnd":441.30000019073486,"responseStart":441.30000019073486,"secureConnectionStart":210.39999961853027},{"duration":231.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":210.69999980926514,"connectEnd":210.69999980926514,"connectStart":210.69999980926514,"domainLookupEnd":210.69999980926514,"domainLookupStart":210.69999980926514,"fetchStart":210.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":210.69999980926514,"responseEnd":441.80000019073486,"responseStart":441.80000019073486,"secureConnectionStart":210.69999980926514},{"duration":231.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":210.89999961853027,"connectEnd":210.89999961853027,"connectStart":210.89999961853027,"domainLookupEnd":210.89999961853027,"domainLookupStart":210.89999961853027,"fetchStart":210.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":210.89999961853027,"responseEnd":442.19999980926514,"responseStart":442.19999980926514,"secureConnectionStart":210.89999961853027},{"duration":232.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":211.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":211.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":443.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":231.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":211.30000019073486,"connectEnd":211.30000019073486,"connectStart":211.30000019073486,"domainLookupEnd":211.30000019073486,"domainLookupStart":211.30000019073486,"fetchStart":211.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":211.30000019073486,"responseEnd":442.69999980926514,"responseStart":442.69999980926514,"secureConnectionStart":211.30000019073486},{"duration":232.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":211.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":211.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":443.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":231.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":211.60000038146973,"connectEnd":211.60000038146973,"connectStart":211.60000038146973,"domainLookupEnd":211.60000038146973,"domainLookupStart":211.60000038146973,"fetchStart":211.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":211.60000038146973,"responseEnd":443.30000019073486,"responseStart":443.30000019073486,"secureConnectionStart":211.60000038146973},{"duration":291.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":212.39999961853027,"connectEnd":212.39999961853027,"connectStart":212.39999961853027,"domainLookupEnd":212.39999961853027,"domainLookupStart":212.39999961853027,"fetchStart":212.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":212.39999961853027,"responseEnd":503.8999996185303,"responseStart":503.8999996185303,"secureConnectionStart":212.39999961853027},{"duration":600.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":212.60000038146973,"connectEnd":212.60000038146973,"connectStart":212.60000038146973,"domainLookupEnd":212.60000038146973,"domainLookupStart":212.60000038146973,"fetchStart":212.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":212.60000038146973,"responseEnd":813.5,"responseStart":813.5,"secureConnectionStart":212.60000038146973},{"duration":186.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":633.5,"connectEnd":633.5,"connectStart":633.5,"domainLookupEnd":633.5,"domainLookupStart":633.5,"fetchStart":633.5,"redirectEnd":0,"redirectStart":0,"requestStart":633.5,"responseEnd":820.1999998092651,"responseStart":820.1999998092651,"secureConnectionStart":633.5},{"duration":177.60000038146973,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":835,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":835,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1012.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":82.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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","startTime":866.5,"connectEnd":866.5,"connectStart":866.5,"domainLookupEnd":866.5,"domainLookupStart":866.5,"fetchStart":866.5,"redirectEnd":0,"redirectStart":0,"requestStart":866.5,"responseEnd":949,"responseStart":949,"secureConnectionStart":866.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":14,"responseStart":204,"responseEnd":207,"domLoading":207,"domInteractive":1031,"domContentLoadedEventStart":1031,"domContentLoadedEventEnd":1074,"domComplete":1503,"loadEventStart":1503,"loadEventEnd":1506,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1014.6999998092651},{"name":"bigPipe.sidebar-id.end","time":1015.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1015.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1018},{"name":"activityTabFullyLoaded","time":1083.8999996185303}],"measures":[],"correlationId":"c4b11d12b1e28e","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":128,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}