--source include/have_partition.inc
|
|
CREATE TABLE t1 (a INT, UNIQUE USING HASH (a)) PARTITION BY HASH (a) PARTITIONS 2;
|
INSERT INTO t1 VALUES (2);
|
REPLACE INTO t1 VALUES (2);
|
|
# Cleanup
|
DROP TABLE t1;
|
10.4 5a796f1f
|
mysqld: /data/src/10.4/sql/ha_partition.cc:5767: virtual int ha_partition::index_read_idx_map(uchar*, uint, const uchar*, key_part_map, ha_rkey_function): Assertion `m_part_spec.start_part >= m_part_spec.end_part' failed.
|
190312 15:04:57 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007ffb498fcee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000056199ee7aa5a in ha_partition::index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/ha_partition.cc:5767
|
#9 0x000056199e6f93e2 in handler::ha_index_read_idx_map (this=0x7ffb28139fb8, buf=0x7ffb280428f8 '\245' <repeats 16 times>, " )\004(\373\177", index=0, key=0x7ffb44276220 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.4/sql/handler.cc:3068
|
#10 0x000056199e365b32 in write_record (thd=0x7ffb28000b00, table=0x7ffb28139150, info=0x7ffb44276460) at /data/src/10.4/sql/sql_insert.cc:1772
|
#11 0x000056199e363bdd in mysql_insert (thd=0x7ffb28000b00, table_list=0x7ffb280155b0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1067
|
#12 0x000056199e3afe08 in mysql_execute_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:4838
|
#13 0x000056199e3bbb63 in mysql_parse (thd=0x7ffb28000b00, rawbuf=0x7ffb280154c8 "REPLACE INTO t1 VALUES (2)", length=26, parser_state=0x7ffb44277180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8204
|
#14 0x000056199e3a71a5 in dispatch_command (command=COM_QUERY, thd=0x7ffb28000b00, packet=0x7ffb2800a781 "REPLACE INTO t1 VALUES (2)", packet_length=26, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
|
#15 0x000056199e3a598b in do_command (thd=0x7ffb28000b00) at /data/src/10.4/sql/sql_parse.cc:1358
|
#16 0x000056199e51f703 in do_handle_one_connection (connect=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1399
|
#17 0x000056199e51f474 in handle_one_connection (arg=0x5619a2675570) at /data/src/10.4/sql/sql_connect.cc:1302
|
#18 0x000056199ea15031 in pfs_spawn_thread (arg=0x5619a2767be0) at /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#19 0x00007ffb4b5d3494 in start_thread (arg=0x7ffb44278700) at pthread_create.c:333
|
#20 0x00007ffb499b993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
It started happening after MDEV-371, although there is no direct relation in the test case.
Reproducible with at least MyISAM and InnoDB.
Also reproducible on bb-10.4-sachin 42af178a.
- is caused by
-
MDEV-371
Unique indexes for blobs
-
-
Closed
{"report":{"fcp":1271.3000001907349,"ttfb":566.7000002861023,"pageVisibility":"visible","entityId":73221,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"7399b8c8-9c14-4108-9757-9f7a198c369c","navigationType":0,"readyForUser":1387.5999999046326,"redirectCount":0,"resourceLoadedEnd":1468.3000001907349,"resourceLoadedStart":574.8000001907349,"resourceTiming":[{"duration":68.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":574.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":574.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":643.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":69.30000019073486,"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":575,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":575,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":644.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":113.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":575.3000001907349,"connectEnd":575.3000001907349,"connectStart":575.3000001907349,"domainLookupEnd":575.3000001907349,"domainLookupStart":575.3000001907349,"fetchStart":575.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":575.3000001907349,"responseEnd":688.5,"responseStart":688.5,"secureConnectionStart":575.3000001907349},{"duration":208.09999990463257,"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":575.4000000953674,"connectEnd":575.4000000953674,"connectStart":575.4000000953674,"domainLookupEnd":575.4000000953674,"domainLookupStart":575.4000000953674,"fetchStart":575.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":575.4000000953674,"responseEnd":783.5,"responseStart":783.5,"secureConnectionStart":575.4000000953674},{"duration":212.39999961853027,"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":575.7000002861023,"connectEnd":575.7000002861023,"connectStart":575.7000002861023,"domainLookupEnd":575.7000002861023,"domainLookupStart":575.7000002861023,"fetchStart":575.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":575.7000002861023,"responseEnd":788.0999999046326,"responseStart":788,"secureConnectionStart":575.7000002861023},{"duration":212.90000009536743,"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":575.8000001907349,"connectEnd":575.8000001907349,"connectStart":575.8000001907349,"domainLookupEnd":575.8000001907349,"domainLookupStart":575.8000001907349,"fetchStart":575.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":575.8000001907349,"responseEnd":788.7000002861023,"responseStart":788.7000002861023,"secureConnectionStart":575.8000001907349},{"duration":213.2000002861023,"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":576.0999999046326,"connectEnd":576.0999999046326,"connectStart":576.0999999046326,"domainLookupEnd":576.0999999046326,"domainLookupStart":576.0999999046326,"fetchStart":576.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":576.0999999046326,"responseEnd":789.3000001907349,"responseStart":789.3000001907349,"secureConnectionStart":576.0999999046326},{"duration":262.59999990463257,"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":576.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":576.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":838.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":213.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":576.4000000953674,"connectEnd":576.4000000953674,"connectStart":576.4000000953674,"domainLookupEnd":576.4000000953674,"domainLookupStart":576.4000000953674,"fetchStart":576.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":576.4000000953674,"responseEnd":790,"responseStart":790,"secureConnectionStart":576.4000000953674},{"duration":262.5,"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":576.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":576.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":839,"responseStart":0,"secureConnectionStart":0},{"duration":213.89999961853027,"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":576.7000002861023,"connectEnd":576.7000002861023,"connectStart":576.7000002861023,"domainLookupEnd":576.7000002861023,"domainLookupStart":576.7000002861023,"fetchStart":576.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":576.7000002861023,"responseEnd":790.5999999046326,"responseStart":790.5999999046326,"secureConnectionStart":576.7000002861023},{"duration":713.6999998092651,"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":577.7000002861023,"connectEnd":577.7000002861023,"connectStart":577.7000002861023,"domainLookupEnd":577.7000002861023,"domainLookupStart":577.7000002861023,"fetchStart":577.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":577.7000002861023,"responseEnd":1291.4000000953674,"responseStart":1291.4000000953674,"secureConnectionStart":577.7000002861023},{"duration":714.1999998092651,"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":577.8000001907349,"connectEnd":577.8000001907349,"connectStart":577.8000001907349,"domainLookupEnd":577.8000001907349,"domainLookupStart":577.8000001907349,"fetchStart":577.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":577.8000001907349,"responseEnd":1292,"responseStart":1292,"secureConnectionStart":577.8000001907349},{"duration":231.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":860.7000002861023,"connectEnd":860.7000002861023,"connectStart":860.7000002861023,"domainLookupEnd":860.7000002861023,"domainLookupStart":860.7000002861023,"fetchStart":860.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":860.7000002861023,"responseEnd":1092.4000000953674,"responseStart":1092.4000000953674,"secureConnectionStart":860.7000002861023},{"duration":253.7999997138977,"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":1214.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1214.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1468,"responseStart":0,"secureConnectionStart":0},{"duration":253.59999990463257,"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":1214.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1214.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1468.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":236.89999961853027,"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":1215.7000002861023,"connectEnd":1215.7000002861023,"connectStart":1215.7000002861023,"domainLookupEnd":1215.7000002861023,"domainLookupStart":1215.7000002861023,"fetchStart":1215.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1215.7000002861023,"responseEnd":1452.5999999046326,"responseStart":1452.5999999046326,"secureConnectionStart":1215.7000002861023},{"duration":243.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":1216.2000002861023,"connectEnd":1216.2000002861023,"connectStart":1216.2000002861023,"domainLookupEnd":1216.2000002861023,"domainLookupStart":1216.2000002861023,"fetchStart":1216.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1216.2000002861023,"responseEnd":1459.8000001907349,"responseStart":1459.8000001907349,"secureConnectionStart":1216.2000002861023},{"duration":245.2000002861023,"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":1216.5,"connectEnd":1216.5,"connectStart":1216.5,"domainLookupEnd":1216.5,"domainLookupStart":1216.5,"fetchStart":1216.5,"redirectEnd":0,"redirectStart":0,"requestStart":1216.5,"responseEnd":1461.7000002861023,"responseStart":1461.7000002861023,"secureConnectionStart":1216.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":415,"responseStart":566,"responseEnd":568,"domLoading":572,"domInteractive":1480,"domContentLoadedEventStart":1480,"domContentLoadedEventEnd":1536,"domComplete":1868,"loadEventStart":1868,"loadEventEnd":1868,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1449.7000002861023},{"name":"bigPipe.sidebar-id.end","time":1450.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1450.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1451.5999999046326},{"name":"activityTabFullyLoaded","time":1550.5999999046326}],"measures":[],"correlationId":"6f54e91506dd12","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
bb-10.4-sachin