LevelDB storage engine (MDEV-3841)

[MDEV-3957] Server crashes on creating a table with timestamp column Created: 2012-12-21  Updated: 2012-12-21  Resolved: 2012-12-21

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Technical task Priority: Major
Reporter: Elena Stepanova Assignee: Sergei Petrunia
Resolution: Fixed Votes: 0
Labels: leveldb

Issue Links:
Relates

 Description   

create table t2 (pk int primary key, ts timestamp) engine=leveldb;

#4  <signal handler called>
#5  0x0891d508 in Ldb_transaction::commit (this=0x0) at mysql-5.6-leveldb/storage/leveldb/ha_leveldb.cc:194
#6  0x0891cdd7 in ha_leveldb::external_lock (this=0xa5a43ff0, thd=0xac31888, lock_type=2) at mysql-5.6-leveldb/storage/leveldb/ha_leveldb.cc:1070
#7  0x08256f4a in handler::ha_external_lock (this=0xa5a43ff0, thd=0xac31888, lock_type=2) at mysql-5.6-leveldb/sql/handler.cc:7050
#8  0x084dc19a in unlock_external (thd=0xac31888, table=0xa5a443e0, count=1) at mysql-5.6-leveldb/sql/lock.cc:646
#9  0x084db87c in mysql_unlock_tables (thd=0xac31888, sql_lock=0xa5a443c8) at mysql-5.6-leveldb/sql/lock.cc:389
#10 0x083476d1 in close_thread_tables (thd=0xac31888) at mysql-5.6-leveldb/sql/sql_base.cc:1446
#11 0x083abd3d in mysql_execute_command (thd=0xac31888) at mysql-5.6-leveldb/sql/sql_parse.cc:4903
#12 0x083ae4a8 in mysql_parse (thd=0xac31888, rawbuf=0xa5a3f678 "create table t2 (pk int primary key, ts timestamp) engine=leveldb", length=65, parser_state=0xa59fe758) at mysql-5.6-leveldb/sql/sql_parse.cc:6097
#13 0x083a2e8e in dispatch_command (command=COM_QUERY, thd=0xac31888, packet=0xb227301 "create table t2 (pk int primary key, ts timestamp) engine=leveldb", packet_length=65) at mysql-5.6-leveldb/sql/sql_parse.cc:1312
#14 0x083a22be in do_command (thd=0xac31888) at mysql-5.6-leveldb/sql/sql_parse.cc:1036
#15 0x08371c79 in do_handle_one_connection (thd_arg=0xac31888) at mysql-5.6-leveldb/sql/sql_connect.cc:969
#16 0x08371822 in handle_one_connection (arg=0xac31888) at mysql-5.6-leveldb/sql/sql_connect.cc:885
#17 0x08650697 in pfs_spawn_thread (arg=0xb1ea618) at mysql-5.6-leveldb/storage/perfschema/pfs.cc:1853
#18 0xb76fce32 in start_thread () from /lib/libpthread.so.0

revision-id: psergey@askmonty.org-20121221100948-jddqx7ndi0b0fovk
date: 2012-12-21 14:09:48 +0400
build-date: 2012-12-21 16:39:49 +0400
revno: 4467
branch: mysql-5.6-leveldb



 Comments   
Comment by Sergei Petrunia [ 2012-12-21 ]

For some reason, I've managed to repeat once, and then I was unable to. I think this is fixed in:

revno: 4470
revision-id: psergey@askmonty.org-20121221151607-neerapwy7iohk1vj

Elena, could you check it?

Comment by Elena Stepanova [ 2012-12-21 ]

Agree, it seems to be gone on revno 4470 (was quite reproducible for me on 4467).

Generated at Thu Feb 08 06:52:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.