Details
-
Type:
Technical task
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
Description
Test case (LIMIT clause is not needed to reproduce the problem, it just makes using ORDER BY reasonable):
--disable_abort_on_error create table t1 (pk int primary key, c char(1)) engine=LevelDB; insert into t1 values (1,'a'),(2,'b'); update t1 set c = 'x' order by pk limit 1; delete from t1 order by pk limit 1; select * from t1;
Output:
create table t1 (pk int primary key, c char(1)) engine=LevelDB; insert into t1 values (1,'a'),(2,'b'); update t1 set c = 'x' order by pk limit 1; ERROR HY000: Lock wait timeout exceeded; try restarting transaction delete from t1 order by pk limit 1; ERROR HY000: Lock wait timeout exceeded; try restarting transaction select * from t1; pk c 1 a 2 b
revision-id: psergey@askmonty.org-20130114195003-fgp08gh4swgcf1cx revno: 4486 branch-nick: mysql-5.6-leveldb
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Possibly both this and
MDEV-4046come from the same basic (known) problem as below, and just need to wait till it's fixedcreate table t1 (i int primary key) engine=leveldb;
insert into t1 values (1),(1);
ERROR HY000: Lock wait timeout exceeded; try restarting transaction