-
Bug
-
-
Critical
-
Resolution:
Fixed
-
N/A
-
-
-
Reproducible only on the vector branch, even though it doesn't involve vector.
MariaDB [test]> create or replace table t (b blob, unique(b)) engine=InnoDB;
|
Query OK, 0 rows affected (0.057 sec)
|
|
MariaDB [test]> show create table t;
|
+-------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
|
| Table | Create Table |
|
+-------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
|
| t | CREATE TABLE `t` (
|
`b` blob DEFAULT NULL,
|
UNIQUE KEY `b` (`b`) USING HASH
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci |
|
+-------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
|
1 row in set (0.001 sec)
|
|
MariaDB [test]> show index in t;
|
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
|
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Ignored |
|
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
|
| t | 0 | b | 1 | b | A | 0 | NULL | NULL | YES | BTREE | | | NO |
|
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
|
1 row in set (0.001 sec)
|
So, it's HASH in SHOW CREATE, but BTREE in SHOW INDEX and in INFORMATION_SCHEMA.STATISTICS. It used to be HASH everywhere.
- is caused by
-
MDEV-34939
vector search in 11.7
-
-
Closed
{"report":{"fcp":651.9000000953674,"ttfb":161.70000004768372,"pageVisibility":"visible","entityId":131465,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"f9d52f01-7a1b-4113-845e-6208bfd07cec","navigationType":0,"readyForUser":709.1000001430511,"redirectCount":0,"resourceLoadedEnd":670.2000000476837,"resourceLoadedStart":169.10000014305115,"resourceTiming":[{"duration":10.399999856948853,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":169.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":169.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":179.5,"responseStart":0,"secureConnectionStart":0},{"duration":11.400000095367432,"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":169.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":169.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":180.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":66.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":169.5,"connectEnd":169.5,"connectStart":169.5,"domainLookupEnd":169.5,"domainLookupStart":169.5,"fetchStart":169.5,"redirectEnd":0,"redirectStart":0,"requestStart":169.5,"responseEnd":236.20000004768372,"responseStart":236.20000004768372,"secureConnectionStart":169.5},{"duration":140.70000004768372,"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":169.70000004768372,"connectEnd":169.70000004768372,"connectStart":169.70000004768372,"domainLookupEnd":169.70000004768372,"domainLookupStart":169.70000004768372,"fetchStart":169.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":169.70000004768372,"responseEnd":310.40000009536743,"responseStart":310.40000009536743,"secureConnectionStart":169.70000004768372},{"duration":136.10000014305115,"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":169.70000004768372,"connectEnd":169.70000004768372,"connectStart":169.70000004768372,"domainLookupEnd":169.70000004768372,"domainLookupStart":169.70000004768372,"fetchStart":169.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":169.70000004768372,"responseEnd":305.80000019073486,"responseStart":305.80000019073486,"secureConnectionStart":169.70000004768372},{"duration":141.29999995231628,"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":169.80000019073486,"connectEnd":169.80000019073486,"connectStart":169.80000019073486,"domainLookupEnd":169.80000019073486,"domainLookupStart":169.80000019073486,"fetchStart":169.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":169.80000019073486,"responseEnd":311.10000014305115,"responseStart":311.10000014305115,"secureConnectionStart":169.80000019073486},{"duration":143.20000004768372,"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":169.90000009536743,"connectEnd":169.90000009536743,"connectStart":169.90000009536743,"domainLookupEnd":169.90000009536743,"domainLookupStart":169.90000009536743,"fetchStart":169.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":169.90000009536743,"responseEnd":313.10000014305115,"responseStart":313.10000014305115,"secureConnectionStart":169.90000009536743},{"duration":143.79999995231628,"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":170.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":313.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":143.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":170.20000004768372,"connectEnd":170.20000004768372,"connectStart":170.20000004768372,"domainLookupEnd":170.20000004768372,"domainLookupStart":170.20000004768372,"fetchStart":170.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":170.20000004768372,"responseEnd":314,"responseStart":314,"secureConnectionStart":170.20000004768372},{"duration":144.09999990463257,"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":170.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":314.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":144.20000004768372,"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":170.40000009536743,"connectEnd":170.40000009536743,"connectStart":170.40000009536743,"domainLookupEnd":170.40000009536743,"domainLookupStart":170.40000009536743,"fetchStart":170.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":170.40000009536743,"responseEnd":314.60000014305115,"responseStart":314.60000014305115,"secureConnectionStart":170.40000009536743},{"duration":496,"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":171.10000014305115,"connectEnd":171.10000014305115,"connectStart":171.10000014305115,"domainLookupEnd":171.10000014305115,"domainLookupStart":171.10000014305115,"fetchStart":171.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":171.10000014305115,"responseEnd":667.1000001430511,"responseStart":667.1000001430511,"secureConnectionStart":171.10000014305115},{"duration":499,"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":171.20000004768372,"connectEnd":171.20000004768372,"connectStart":171.20000004768372,"domainLookupEnd":171.20000004768372,"domainLookupStart":171.20000004768372,"fetchStart":171.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":171.20000004768372,"responseEnd":670.2000000476837,"responseStart":670.2000000476837,"secureConnectionStart":171.20000004768372},{"duration":216.60000014305115,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":452,"connectEnd":452,"connectStart":452,"domainLookupEnd":452,"domainLookupStart":452,"fetchStart":452,"redirectEnd":0,"redirectStart":0,"requestStart":452,"responseEnd":668.6000001430511,"responseStart":668.6000001430511,"secureConnectionStart":452},{"duration":52.799999952316284,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":627.1000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":627.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":679.9000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":34,"responseStart":162,"responseEnd":166,"domLoading":165,"domInteractive":823,"domContentLoadedEventStart":823,"domContentLoadedEventEnd":864,"domComplete":1819,"loadEventStart":1819,"loadEventEnd":1820,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":804.1000001430511},{"name":"bigPipe.sidebar-id.end","time":804.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":805},{"name":"bigPipe.activity-panel-pipe-id.end","time":807.5},{"name":"activityTabFullyLoaded","time":874.5}],"measures":[],"correlationId":"1a133d7d3913f8","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":73,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}