Details
-
Bug
-
Status: Stalled (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.6.1, 10.2.39, 10.3.30, 10.4.20, 10.5.11
-
None
Description
Simple table with two colums Type(varchar) and Point(point)
An index on Type(Tindex) and a spatial index on Point(Pindex)
Now a query like
SELECT X(Point) as x,Y(Point) as y,hotels.Type FROM hotels WHERE (Type in ("acco")) AND MBRContains( GeomFromText( 'LINESTRING(4.922 52.909,5.625 52.483)' ), hotels.Point) |
;
|
Results in a
Error in query (1207): Update locks cannot be acquired during a READ UNCOMMITTED transaction
While both
SELECT X(Point) as x,Y(Point) as y,hotels.Type FROM hotels USE INDEX (Pindex) WHERE (Type in ("acco")) AND MBRContains( GeomFromText( 'LINESTRING(4.922 52.909,5.625 52.483)' ), hotels.Point) |
;
|
and
SELECT X(Point) as x,Y(Point) as y,hotels.Type FROM hotels USE INDEX (Tindex) WHERE (Type in ("acco")) AND MBRContains( GeomFromText( 'LINESTRING(4.922 52.909,5.625 52.483)' ), hotels.Point) |
;
|
work fine. As mariadb 10.5.10 did
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | hotels | range | filter | Type,Pindex | Pindex | Type | 34 | 302 | NULL | 340 (4%) | Using where; Using rowid filter |
Attachments
Issue Links
- duplicates
-
MDEV-26204 Update locks cannot be acquired during a READ UNCOMMITTED transaction with SELECT
-
- Closed
-
- is caused by
-
MDEV-25594 Crash in deadlock checker under high load
-
- Closed
-
- is duplicated by
-
MDEV-35742 Predicates under spatial index cause transaction errors
-
- Closed
-
- relates to
-
MDEV-14059 InnoDB assertion failure offset >= ((38U + 36 + 2 * 10) + 5) at page0page.h line 318
-
- Closed
-
-
MDEV-15275 innodb_gis.rtree_purge failed in buildbot with timeout
-
- Open
-
-
MDEV-15284 innodb_gis.rtree_concurrent_srch fails with COUNT(*) mismatch
-
- Confirmed
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is caused by |
Summary | Using Spatioal Indexes results in Update locks cannot be acquired during a READ UNCOMMITTED transaction | Using Spatial Indexes results in Update locks cannot be acquired during a READ UNCOMMITTED transaction |
Assignee | Marko Mäkelä [ marko ] |
Link |
This issue is duplicated by |
Component/s | GIS [ 10105 ] | |
Component/s | Storage Engine - InnoDB [ 10129 ] | |
Affects Version/s | 10.4.20 [ 25733 ] | |
Affects Version/s | 10.3.30 [ 25732 ] | |
Affects Version/s | 10.2.39 [ 25731 ] | |
Affects Version/s | 10.6.1 [ 24437 ] |
Remote Link | This issue links to "Stack Overflow question of affected users (Web Link)" [ 31586 ] |
Link |
This issue duplicates |
Link |
This issue is duplicated by |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Workflow | MariaDB v3 [ 123372 ] | MariaDB v4 [ 142983 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Assignee | Marko Mäkelä [ marko ] | Vladislav Lesin [ vlad.lesin ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 10.2 [ 14601 ] |
Attachment | mariadb-server-10.4_10.4.19+maria~focal_amd64.deb [ 65062 ] | |
Attachment | mariadb-server-core-10.4_10.4.19+maria~focal_amd64.deb [ 65063 ] |
Fix Version/s | 10.3 [ 22126 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Fix Version/s | 10.4 [ 22408 ] |
Link | This issue relates to MDEV-15275 [ MDEV-15275 ] |
Link |
This issue relates to |
Link | This issue relates to MDEV-15284 [ MDEV-15284 ] |
Link |
This issue is duplicated by |