Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
N/A
Note: The fix for MDEV-35141 is already in the tree.
CREATE TABLE t (pk INT PRIMARY KEY , v VECTOR(1) NOT NULL );
INSERT INTO t VALUES (1,VEC_FromText( '[-0.196]' )),(2,VEC_FromText( '[0.709]' ));
ANALYZE TABLE t PERSISTENT FOR ALL ;
# Cleanup
DROP TABLE t;
bb-11.6-MDEV-32887-vector eff6bc39fcb6e1f691fa08b153d9ea44b9f77b54 non-debug
mysqltest: At line 3: query 'ANALYZE TABLE t PERSISTENT FOR ALL' failed: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD (1366): Incorrect vector value: '' 9�H� '' for column `test`.`t`.`v` at row 0
Warnings from just before the error:
Error 1366 Incorrect vector value: '' 9�H� '' for column `test`.`t`.`v` at row 0
debug
mariadbd: /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_error.cc:388: void Diagnostics_area::set_eof_status(THD*): Assertion `!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())' failed.
241016 15:49:53 [ERROR] mysqld got signal 6 ;
#9 0x00007fc025e53e32 in __GI___assert_fail (assertion=0x561e1df3aba0 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=0x561e1df3a6a0 "/data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_error.cc", line=388, function=0x561e1df3ac00 "void Diagnostics_area::set_eof_status(THD*)") at ./assert/assert.c:101
#10 0x0000561e1bb6ead5 in Diagnostics_area::set_eof_status (this=0x62c0000c63b8, thd=0x62c0000c0218) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_error.cc:388
#11 0x0000561e1b96db3e in my_eof (thd=0x62c0000c0218) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_class.h:6119
#12 0x0000561e1c171bb7 in mysql_admin_table (thd=0x62c0000c0218, tables=0x6290000e6350, check_opt=0x62c0000c5a40, operator_name=0x561e1f66b960 <msg_analyze>, lock_type=TL_READ_NO_INSERT, org_open_for_modify=true, no_errors_from_open=false, extra_open_options=0, prepare_func=0x0, operator_func=(int (handler::*)(handler * const, THD *, HA_CHECK_OPT *)) 0x561e1c5fd278 <handler::ha_analyze(THD*, st_ha_check_opt*)>, view_operator_func=0x0, is_cmd_replicated=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_admin.cc:1512
#13 0x0000561e1c172a99 in Sql_cmd_analyze_table::execute (this=0x6290000e6a68, thd=0x62c0000c0218) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_admin.cc:1619
#14 0x0000561e1bc5f422 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
#15 0x0000561e1bc6c53a in mysql_parse (thd=0x62c0000c0218, rawbuf=0x6290000e6238 "ANALYZE TABLE t PERSISTENT FOR ALL", length=34, parser_state=0x7fc01a8ba9f0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
#16 0x0000561e1bc4355c in dispatch_command (command=COM_QUERY, thd=0x62c0000c0218, packet=0x629000253219 "", packet_length=34, blocking=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
#17 0x0000561e1bc40270 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
#18 0x0000561e1c12fc4b 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
#19 0x0000561e1c12f60c in handle_one_connection (arg=0x608000003438) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
#20 0x0000561e1cdd53dc in pfs_spawn_thread (arg=0x617000005b98) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
#21 0x00007fc025ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#22 0x00007fc025f2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
is caused by
MDEV-34939
vector search in 11.7
Closed
There are no comments yet on this issue.
{"report":{"fcp":1237.3000001907349,"ttfb":720.8000001907349,"pageVisibility":"visible","entityId":131239,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"9ccb082a-3c08-443e-a709-28d5474789fe","navigationType":0,"readyForUser":1322,"redirectCount":0,"resourceLoadedEnd":1108.8000001907349,"resourceLoadedStart":726,"resourceTiming":[{"duration":32.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":726,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":726,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":758.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":32.799999713897705,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":726.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":726.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":759.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":83.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":726.4000000953674,"connectEnd":726.4000000953674,"connectStart":726.4000000953674,"domainLookupEnd":726.4000000953674,"domainLookupStart":726.4000000953674,"fetchStart":726.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":761.9000000953674,"responseEnd":809.9000000953674,"responseStart":775.5,"secureConnectionStart":726.4000000953674},{"duration":100.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":726.6999998092651,"connectEnd":726.6999998092651,"connectStart":726.6999998092651,"domainLookupEnd":726.6999998092651,"domainLookupStart":726.6999998092651,"fetchStart":726.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":762.5999999046326,"responseEnd":827.5,"responseStart":776,"secureConnectionStart":726.6999998092651},{"duration":60.59999990463257,"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":726.8000001907349,"connectEnd":726.8000001907349,"connectStart":726.8000001907349,"domainLookupEnd":726.8000001907349,"domainLookupStart":726.8000001907349,"fetchStart":726.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":764.6999998092651,"responseEnd":787.4000000953674,"responseStart":786.6999998092651,"secureConnectionStart":726.8000001907349},{"duration":67.5,"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":727,"connectEnd":727,"connectStart":727,"domainLookupEnd":727,"domainLookupStart":727,"fetchStart":727,"redirectEnd":0,"redirectStart":0,"requestStart":766.4000000953674,"responseEnd":794.5,"responseStart":793.8000001907349,"secureConnectionStart":727},{"duration":68.30000019073486,"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":727.0999999046326,"connectEnd":727.0999999046326,"connectStart":727.0999999046326,"domainLookupEnd":727.0999999046326,"domainLookupStart":727.0999999046326,"fetchStart":727.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":767.6999998092651,"responseEnd":795.4000000953674,"responseStart":794.6999998092651,"secureConnectionStart":727.0999999046326},{"duration":38.299999713897705,"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":727.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":727.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":765.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":100.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":727.5,"connectEnd":727.5,"connectStart":727.5,"domainLookupEnd":727.5,"domainLookupStart":727.5,"fetchStart":727.5,"redirectEnd":0,"redirectStart":0,"requestStart":770.8000001907349,"responseEnd":828.0999999046326,"responseStart":825.5,"secureConnectionStart":727.5},{"duration":39.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":727.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":727.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":767.5,"responseStart":0,"secureConnectionStart":0},{"duration":70.2999997138977,"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":727.8000001907349,"connectEnd":727.8000001907349,"connectStart":727.8000001907349,"domainLookupEnd":727.8000001907349,"domainLookupStart":727.8000001907349,"fetchStart":727.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":771.5999999046326,"responseEnd":798.0999999046326,"responseStart":797.1999998092651,"secureConnectionStart":727.8000001907349},{"duration":369.09999990463257,"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":738.9000000953674,"connectEnd":738.9000000953674,"connectStart":738.9000000953674,"domainLookupEnd":738.9000000953674,"domainLookupStart":738.9000000953674,"fetchStart":738.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":981.8000001907349,"responseEnd":1108,"responseStart":1103.3000001907349,"secureConnectionStart":738.9000000953674},{"duration":369.90000009536743,"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":738.9000000953674,"connectEnd":738.9000000953674,"connectStart":738.9000000953674,"domainLookupEnd":738.9000000953674,"domainLookupStart":738.9000000953674,"fetchStart":738.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":868.6999998092651,"responseEnd":1108.8000001907349,"responseStart":1105.1999998092651,"secureConnectionStart":738.9000000953674},{"duration":213.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1003.8000001907349,"connectEnd":1003.8000001907349,"connectStart":1003.8000001907349,"domainLookupEnd":1003.8000001907349,"domainLookupStart":1003.8000001907349,"fetchStart":1003.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1159.8000001907349,"responseEnd":1217.3000001907349,"responseStart":1216.3000001907349,"secureConnectionStart":1003.8000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":44,"responseStart":721,"responseEnd":739,"domLoading":724,"domInteractive":1374,"domContentLoadedEventStart":1375,"domContentLoadedEventEnd":1418,"domComplete":1875,"loadEventStart":1875,"loadEventEnd":1875,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1358.4000000953674},{"name":"bigPipe.sidebar-id.end","time":1359.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1359.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1359.8000001907349},{"name":"activityTabFullyLoaded","time":1429.5999999046326}],"measures":[],"correlationId":"5d5d5fcef510e7","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":589,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}