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
Sergei Golubchik
made changes -
2024-10-17 16:39
Status
Open
[ 1
]
In Progress
[ 3
]
Sergei Golubchik
made changes -
2024-10-17 16:39
Status
In Progress
[ 3
]
In Testing
[ 10301
]
Sergei Golubchik
made changes -
2024-11-06 13:53
Fix Version/s
11.7.1
[ 29913
]
Fix Version/s
11.7
[ 29815
]
Resolution
Fixed
[ 1
]
Status
In Testing
[ 10301
]
Closed
[ 6
]
{"report":{"fcp":977,"ttfb":317.8000000715256,"pageVisibility":"visible","entityId":131239,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"ff3baf17-c5bd-449d-af0f-dd5b638ea77c","navigationType":0,"readyForUser":1051.6000000238419,"redirectCount":0,"resourceLoadedEnd":586.8000000715256,"resourceLoadedStart":324.89999997615814,"resourceTiming":[{"duration":71.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":324.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":324.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":396.10000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":71.5,"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":325.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":325.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":396.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":207.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":325.39999997615814,"connectEnd":325.39999997615814,"connectStart":325.39999997615814,"domainLookupEnd":325.39999997615814,"domainLookupStart":325.39999997615814,"fetchStart":325.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":398.8000000715256,"responseEnd":532.8999999761581,"responseStart":412,"secureConnectionStart":325.39999997615814},{"duration":228.30000007152557,"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":325.5,"connectEnd":325.5,"connectStart":325.5,"domainLookupEnd":325.5,"domainLookupStart":325.5,"fetchStart":325.5,"redirectEnd":0,"redirectStart":0,"requestStart":399.8000000715256,"responseEnd":553.8000000715256,"responseStart":418.5,"secureConnectionStart":325.5},{"duration":92.5,"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":325.8000000715256,"connectEnd":325.8000000715256,"connectStart":325.8000000715256,"domainLookupEnd":325.8000000715256,"domainLookupStart":325.8000000715256,"fetchStart":325.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":400.89999997615814,"responseEnd":418.3000000715256,"responseStart":417.10000002384186,"secureConnectionStart":325.8000000715256},{"duration":99.5,"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":325.89999997615814,"connectEnd":325.89999997615814,"connectStart":325.89999997615814,"domainLookupEnd":325.89999997615814,"domainLookupStart":325.89999997615814,"fetchStart":325.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":401.89999997615814,"responseEnd":425.39999997615814,"responseStart":424.3000000715256,"secureConnectionStart":325.89999997615814},{"duration":104.79999995231628,"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":326.10000002384186,"connectEnd":326.10000002384186,"connectStart":326.10000002384186,"domainLookupEnd":326.10000002384186,"domainLookupStart":326.10000002384186,"fetchStart":326.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":408.89999997615814,"responseEnd":430.89999997615814,"responseStart":427.39999997615814,"secureConnectionStart":326.10000002384186},{"duration":75.89999997615814,"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":326.3000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":326.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":402.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":105.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":326.5,"connectEnd":326.5,"connectStart":326.5,"domainLookupEnd":326.5,"domainLookupStart":326.5,"fetchStart":326.5,"redirectEnd":0,"redirectStart":0,"requestStart":409.3000000715256,"responseEnd":431.60000002384186,"responseStart":428.2000000476837,"secureConnectionStart":326.5},{"duration":82.70000004768372,"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":326.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":326.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":409.3000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":106.69999992847443,"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":326.8000000715256,"connectEnd":326.8000000715256,"connectStart":326.8000000715256,"domainLookupEnd":326.8000000715256,"domainLookupStart":326.8000000715256,"fetchStart":326.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":411.8000000715256,"responseEnd":433.5,"responseStart":429.10000002384186,"secureConnectionStart":326.8000000715256},{"duration":202.60000002384186,"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":336.5,"connectEnd":336.5,"connectStart":336.5,"domainLookupEnd":336.5,"domainLookupStart":336.5,"fetchStart":336.5,"redirectEnd":0,"redirectStart":0,"requestStart":484,"responseEnd":539.1000000238419,"responseStart":537,"secureConnectionStart":336.5},{"duration":249.10000002384186,"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":337.7000000476837,"connectEnd":337.7000000476837,"connectStart":337.7000000476837,"domainLookupEnd":337.7000000476837,"domainLookupStart":337.7000000476837,"fetchStart":337.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":575.2000000476837,"responseEnd":586.8000000715256,"responseStart":586,"secureConnectionStart":337.7000000476837},{"duration":185.60000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":727.1000000238419,"connectEnd":727.1000000238419,"connectStart":727.1000000238419,"domainLookupEnd":727.1000000238419,"domainLookupStart":727.1000000238419,"fetchStart":727.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":881.5,"responseEnd":912.7000000476837,"responseStart":911.8000000715256,"secureConnectionStart":727.1000000238419}],"fetchStart":0,"domainLookupStart":109,"domainLookupEnd":118,"connectStart":118,"connectEnd":137,"secureConnectionStart":126,"requestStart":137,"responseStart":318,"responseEnd":337,"domLoading":321,"domInteractive":1108,"domContentLoadedEventStart":1108,"domContentLoadedEventEnd":1146,"domComplete":1703,"loadEventStart":1703,"loadEventEnd":1704,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1089.2000000476837},{"name":"bigPipe.sidebar-id.end","time":1089.8999999761581},{"name":"bigPipe.activity-panel-pipe-id.start","time":1090.1000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":1091.8000000715256},{"name":"activityTabFullyLoaded","time":1164.3000000715256}],"measures":[],"correlationId":"54eac6ad9eac52","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":114,"dbReadsTimeInMs":22,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}