Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
N/A
CREATE TABLE t (a INT , v VECTOR(1) NOT NULL DEFAULT 0x00000000, VECTOR(v));
INSERT INTO t (a) VALUES (1);
ALTER TABLE t MODIFY v VECTOR(64) NOT NULL ;
# Cleanup
DROP TABLE t;
bb-11.6-MDEV-32887-vector b685f527ad6b949256159f2484458c3a88dac277
mariadbd: /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:1134: int mhnsw_insert(TABLE*, KEY*): Assertion `res->length() > 0 && res->length() % 4 == 0' failed.
241015 14:55:31 [ERROR] mysqld got signal 6 ;
#9 0x00007f1f63853e32 in __GI___assert_fail (assertion=0x5601322c95e0 "res->length() > 0 && res->length() % 4 == 0", file=0x5601322c89c0 "/data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc", line=1134, function=0x5601322c93a0 "int mhnsw_insert(TABLE*, KEY*)") at ./assert/assert.c:101
#10 0x0000560130683764 in mhnsw_insert (table=0x6190000a8798, keyinfo=0x6190000a92a0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:1134
#11 0x000056012f71c935 in TABLE::hlindexes_on_insert (this=0x6190000a8798) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_base.cc:9919
#12 0x0000560130274c95 in handler::ha_write_row (this=0x61d0002454b8, buf=0x6190000a8cc8 "\376\001") at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/handler.cc:8163
#13 0x000056012fbe34b2 in copy_data_between_tables (thd=0x62c0000c0218, from=0x61900009dd98, to=0x6190000a8798, ignore=false, order_num=0, order=0x0, copied=0x7f1f5864c9c0, deleted=0x7f1f5864c9e0, alter_info=0x7f1f5864fa30, alter_ctx=0x7f1f5864eb70, online=true, start_alter_id=0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_table.cc:12480
#14 0x000056012fbdb66f in mysql_alter_table (thd=0x62c0000c0218, new_db=0x62c0000c4fe8, new_name=0x62c0000c5448, create_info=0x7f1f5864fbe0, table_list=0x6290000e6378, recreate_info=0x7f1f5864f970, alter_info=0x7f1f5864fa30, order_num=0, order=0x0, ignore=false, if_exists=false) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_table.cc:11575
#15 0x000056012fdaec73 in Sql_cmd_alter_table::execute (this=0x6290000e6bd0, thd=0x62c0000c0218) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_alter.cc:701
#16 0x000056012f8bf422 in mysql_execute_command (thd=0x62c0000c0218, is_called_from_prepared_stmt=false) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:5846
#17 0x000056012f8cc53a in mysql_parse (thd=0x62c0000c0218, rawbuf=0x6290000e6238 "ALTER TABLE t MODIFY v VECTOR(64) NOT NULL", length=42, parser_state=0x7f1f586519f0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
#18 0x000056012f8a355c in dispatch_command (command=COM_QUERY, thd=0x62c0000c0218, packet=0x629000253219 "ALTER TABLE t MODIFY v VECTOR(64) NOT NULL", packet_length=42, blocking=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
#19 0x000056012f8a0270 in do_command (thd=0x62c0000c0218, blocking=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1405
#20 0x000056012fd8fc4b in do_handle_one_connection (connect=0x6080000034b8, put_in_cache=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1448
#21 0x000056012fd8f60c in handle_one_connection (arg=0x608000003438) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
#22 0x0000560130a351a0 in pfs_spawn_thread (arg=0x617000005b98) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
#23 0x00007f1f638a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#24 0x00007f1f6392861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
is caused by
MDEV-34939
vector search in 11.7
Closed
{"report":{"fcp":754.0999999046326,"ttfb":122,"pageVisibility":"visible","entityId":131208,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"a6b76f9a-8123-4531-bc6d-736ba08bf36b","navigationType":0,"readyForUser":833.1999998092651,"redirectCount":0,"resourceLoadedEnd":807.5,"resourceLoadedStart":127,"resourceTiming":[{"duration":145.29999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":127,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":127,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":272.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":145,"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":127.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":127.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":272.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":154,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":127.39999985694885,"connectEnd":127.39999985694885,"connectStart":127.39999985694885,"domainLookupEnd":127.39999985694885,"domainLookupStart":127.39999985694885,"fetchStart":127.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":127.39999985694885,"responseEnd":281.39999985694885,"responseStart":281.39999985694885,"secureConnectionStart":127.39999985694885},{"duration":267.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":127.5,"connectEnd":127.5,"connectStart":127.5,"domainLookupEnd":127.5,"domainLookupStart":127.5,"fetchStart":127.5,"redirectEnd":0,"redirectStart":0,"requestStart":127.5,"responseEnd":395.09999990463257,"responseStart":395.09999990463257,"secureConnectionStart":127.5},{"duration":264.09999990463257,"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":127.5,"connectEnd":127.5,"connectStart":127.5,"domainLookupEnd":127.5,"domainLookupStart":127.5,"fetchStart":127.5,"redirectEnd":0,"redirectStart":0,"requestStart":127.5,"responseEnd":391.59999990463257,"responseStart":391.59999990463257,"secureConnectionStart":127.5},{"duration":267.80000019073486,"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":127.69999980926514,"connectEnd":127.69999980926514,"connectStart":127.69999980926514,"domainLookupEnd":127.69999980926514,"domainLookupStart":127.69999980926514,"fetchStart":127.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":127.69999980926514,"responseEnd":395.5,"responseStart":395.5,"secureConnectionStart":127.69999980926514},{"duration":268,"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":127.79999995231628,"connectEnd":127.79999995231628,"connectStart":127.79999995231628,"domainLookupEnd":127.79999995231628,"domainLookupStart":127.79999995231628,"fetchStart":127.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":127.79999995231628,"responseEnd":395.7999999523163,"responseStart":395.7999999523163,"secureConnectionStart":127.79999995231628},{"duration":268.2999999523163,"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":127.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":127.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":396.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":268.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":127.89999985694885,"connectEnd":127.89999985694885,"connectStart":127.89999985694885,"domainLookupEnd":127.89999985694885,"domainLookupStart":127.89999985694885,"fetchStart":127.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":127.89999985694885,"responseEnd":396.19999980926514,"responseStart":396.19999980926514,"secureConnectionStart":127.89999985694885},{"duration":268.59999990463257,"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":128.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":128.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":396.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":268.7000000476837,"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":128.19999980926514,"connectEnd":128.19999980926514,"connectStart":128.19999980926514,"domainLookupEnd":128.19999980926514,"domainLookupStart":128.19999980926514,"fetchStart":128.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":128.19999980926514,"responseEnd":396.89999985694885,"responseStart":396.89999985694885,"secureConnectionStart":128.19999980926514},{"duration":354.09999990463257,"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":133.79999995231628,"connectEnd":133.79999995231628,"connectStart":133.79999995231628,"domainLookupEnd":133.79999995231628,"domainLookupStart":133.79999995231628,"fetchStart":133.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":133.79999995231628,"responseEnd":487.89999985694885,"responseStart":487.89999985694885,"secureConnectionStart":133.79999995231628},{"duration":663.9000000953674,"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":134.09999990463257,"connectEnd":134.09999990463257,"connectStart":134.09999990463257,"domainLookupEnd":134.09999990463257,"domainLookupStart":134.09999990463257,"fetchStart":134.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":134.09999990463257,"responseEnd":798,"responseStart":797.8999998569489,"secureConnectionStart":134.09999990463257},{"duration":56.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":432.19999980926514,"connectEnd":432.19999980926514,"connectStart":432.19999980926514,"domainLookupEnd":432.19999980926514,"domainLookupStart":432.19999980926514,"fetchStart":432.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":432.19999980926514,"responseEnd":489.09999990463257,"responseStart":489.09999990463257,"secureConnectionStart":432.19999980926514},{"duration":133.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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","startTime":673.8999998569489,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":673.8999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":807.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":5,"responseStart":122,"responseEnd":134,"domLoading":125,"domInteractive":887,"domContentLoadedEventStart":887,"domContentLoadedEventEnd":927,"domComplete":1716,"loadEventStart":1716,"loadEventEnd":1717,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":868.0999999046326},{"name":"bigPipe.sidebar-id.end","time":868.8999998569489},{"name":"bigPipe.activity-panel-pipe-id.start","time":869.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":871.6999998092651},{"name":"activityTabFullyLoaded","time":935.1999998092651}],"measures":[],"correlationId":"622eab0a23205b","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":62,"dbReadsTimeInMs":9,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}