Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
N/A
CREATE TABLE t (a INT PRIMARY KEY , v BLOB NOT NULL , VECTOR INDEX (v));
ALTER TABLE t MODIFY a INT AUTO_INCREMENT, LOCK=NONE;
# Cleanup
DROP TABLE t;
bb-11.6-MDEV-32887-vector fe9092a8
#3 <signal handler called>
#4 0x0000561eb4bb15ef in THD::free_tmp_table_share (this=0x62c0000c0218, share=0x61c00002c098, delete_table=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/temporary_tables.cc:1498
#5 0x0000561eb4babf54 in THD::drop_temporary_table (this=0x62c0000c0218, table=0x6190000a2898, is_trans=0x0, delete_table=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/temporary_tables.cc:675
#6 0x0000561eb470f779 in mysql_alter_table (thd=0x62c0000c0218, new_db=0x62c0000c4fe8, new_name=0x62c0000c5448, create_info=0x7fbc639b3be0, table_list=0x6290000e6388, recreate_info=0x7fbc639b3970, alter_info=0x7fbc639b3a30, 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:12009
#7 0x0000561eb48e0001 in Sql_cmd_alter_table::execute (this=0x6290000e6be0, thd=0x62c0000c0218) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_alter.cc:701
#8 0x0000561eb43f0a7c 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
#9 0x0000561eb43fdb94 in mysql_parse (thd=0x62c0000c0218, rawbuf=0x6290000e6238 "ALTER TABLE t MODIFY a INT AUTO_INCREMENT, LOCK=NONE", length=52, parser_state=0x7fbc639b59f0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
#10 0x0000561eb43d4bb6 in dispatch_command (command=COM_QUERY, thd=0x62c0000c0218, packet=0x629000253219 "ALTER TABLE t MODIFY a INT AUTO_INCREMENT, LOCK=NONE", packet_length=52, blocking=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
#11 0x0000561eb43d18ca 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
#12 0x0000561eb48c0fd9 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
#13 0x0000561eb48c099a in handle_one_connection (arg=0x608000003438) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
#14 0x0000561eb5562d84 in pfs_spawn_thread (arg=0x617000005b98) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
#15 0x00007fbc6eca8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#16 0x00007fbc6ed2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Without vector index ALTER fails with the usual
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON (1846): LOCK=NONE is not supported. Reason: CHANGE COLUMN ... AUTO_INCREMENT. Try LOCK=SHARED
The problem is not specific to auto-increment, at least some other alter operations with the same restriction cause the same outcome.
is caused by
MDEV-34939
vector search in 11.7
Closed
Sergei Golubchik
made changes -
2024-09-30 17:16
Status
Open
[ 1
]
In Progress
[ 3
]
Sergei Golubchik
made changes -
2024-09-30 17:20
Status
In Progress
[ 3
]
Stalled
[ 10000
]
Sergei Golubchik
made changes -
2024-09-30 17:44
Status
Stalled
[ 10000
]
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":1134.8999996185303,"ttfb":397.2999997138977,"pageVisibility":"visible","entityId":130984,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"89e6f9a1-5743-4a52-9286-111ceb1f30dd","navigationType":0,"readyForUser":1230.1999998092651,"redirectCount":0,"resourceLoadedEnd":820.7999997138977,"resourceLoadedStart":402.69999980926514,"resourceTiming":[{"duration":83.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":402.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":402.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":485.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":83,"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":403.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":403.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":486.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":266.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":403.19999980926514,"connectEnd":403.19999980926514,"connectStart":403.19999980926514,"domainLookupEnd":403.19999980926514,"domainLookupStart":403.19999980926514,"fetchStart":403.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":492,"responseEnd":669.7999997138977,"responseStart":525.7999997138977,"secureConnectionStart":403.19999980926514},{"duration":394.90000009536743,"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":403.3999996185303,"connectEnd":403.3999996185303,"connectStart":403.3999996185303,"domainLookupEnd":403.3999996185303,"domainLookupStart":403.3999996185303,"fetchStart":403.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":492.09999990463257,"responseEnd":798.2999997138977,"responseStart":525,"secureConnectionStart":403.3999996185303},{"duration":119,"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":403.5,"connectEnd":403.5,"connectStart":403.5,"domainLookupEnd":403.5,"domainLookupStart":403.5,"fetchStart":403.5,"redirectEnd":0,"redirectStart":0,"requestStart":492.2999997138977,"responseEnd":522.5,"responseStart":520.7999997138977,"secureConnectionStart":403.5},{"duration":123,"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":403.7999997138977,"connectEnd":403.7999997138977,"connectStart":403.7999997138977,"domainLookupEnd":403.7999997138977,"domainLookupStart":403.7999997138977,"fetchStart":403.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":494.19999980926514,"responseEnd":526.7999997138977,"responseStart":523.6999998092651,"secureConnectionStart":403.7999997138977},{"duration":118.39999961853027,"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":404,"connectEnd":404,"connectStart":404,"domainLookupEnd":404,"domainLookupStart":404,"fetchStart":404,"redirectEnd":0,"redirectStart":0,"requestStart":494.3999996185303,"responseEnd":522.3999996185303,"responseStart":520.0999999046326,"secureConnectionStart":404},{"duration":88.80000019073486,"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":404.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":404.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":493,"responseStart":0,"secureConnectionStart":0},{"duration":134.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":404.2999997138977,"connectEnd":404.2999997138977,"connectStart":404.2999997138977,"domainLookupEnd":404.2999997138977,"domainLookupStart":404.2999997138977,"fetchStart":404.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":501.8999996185303,"responseEnd":538.5,"responseStart":535.8999996185303,"secureConnectionStart":404.2999997138977},{"duration":95.59999990463257,"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":404.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":404.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":500.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":134.90000009536743,"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":404.59999990463257,"connectEnd":404.59999990463257,"connectStart":404.59999990463257,"domainLookupEnd":404.59999990463257,"domainLookupStart":404.59999990463257,"fetchStart":404.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":502,"responseEnd":539.5,"responseStart":536.5999999046326,"secureConnectionStart":404.59999990463257},{"duration":409.09999990463257,"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":410.09999990463257,"connectEnd":410.09999990463257,"connectStart":410.09999990463257,"domainLookupEnd":410.09999990463257,"domainLookupStart":410.09999990463257,"fetchStart":410.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":660.5,"responseEnd":819.1999998092651,"responseStart":806,"secureConnectionStart":410.09999990463257},{"duration":410.69999980926514,"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":410.09999990463257,"connectEnd":410.09999990463257,"connectStart":410.09999990463257,"domainLookupEnd":410.09999990463257,"domainLookupStart":410.09999990463257,"fetchStart":410.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":751.0999999046326,"responseEnd":820.7999997138977,"responseStart":815.5999999046326,"secureConnectionStart":410.09999990463257},{"duration":116.89999961853027,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":799,"connectEnd":799,"connectStart":799,"domainLookupEnd":799,"domainLookupStart":799,"fetchStart":799,"redirectEnd":0,"redirectStart":0,"requestStart":883.8999996185303,"responseEnd":915.8999996185303,"responseStart":914.7999997138977,"secureConnectionStart":799}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":203,"responseStart":398,"responseEnd":406,"domLoading":401,"domInteractive":1300,"domContentLoadedEventStart":1300,"domContentLoadedEventEnd":1357,"domComplete":2175,"loadEventStart":2175,"loadEventEnd":2176,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1268.3999996185303},{"name":"bigPipe.sidebar-id.end","time":1269.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1269.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1271.2999997138977},{"name":"activityTabFullyLoaded","time":1373.1999998092651}],"measures":[],"correlationId":"1520c0f0c887e2","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":128,"dbReadsTimeInMs":27,"dbConnsTimeInMs":40,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}