Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3841 LevelDB storage engine
  3. MDEV-3960

Server crashes on running DISCARD TABLESPACE on a LevelDB table

    XMLWordPrintable

Details

    • Technical task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      It's not an important issue at this stage, but I'll file it now and let it sit here so that I don't have to get back to it again

      create table t9 (i int primary key) engine=leveldb;
      alter table t9 discard tablespace;

      #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=0xa5a4cdb0, thd=0xadfe888, lock_type=2) at mysql-5.6-leveldb/storage/leveldb/ha_leveldb.cc:1070
      #7  0x08256f4a in handler::ha_external_lock (this=0xa5a4cdb0, thd=0xadfe888, lock_type=2) at mysql-5.6-leveldb/sql/handler.cc:7050
      #8  0x084dc19a in unlock_external (thd=0xadfe888, table=0xa5a4d1a0, count=1) at mysql-5.6-leveldb/sql/lock.cc:646
      #9  0x084db87c in mysql_unlock_tables (thd=0xadfe888, sql_lock=0xa5a4d188) at mysql-5.6-leveldb/sql/lock.cc:389
      #10 0x083476d1 in close_thread_tables (thd=0xadfe888) at mysql-5.6-leveldb/sql/sql_base.cc:1446
      #11 0x083abd3d in mysql_execute_command (thd=0xadfe888) at mysql-5.6-leveldb/sql/sql_parse.cc:4903
      #12 0x083ae4a8 in mysql_parse (thd=0xadfe888, rawbuf=0xa5a3f678 "alter table t9 discard tablespace", length=33, parser_state=0xa5b59758) at mysql-5.6-leveldb/sql/sql_parse.cc:6097
      #13 0x083a2e8e in dispatch_command (command=COM_QUERY, thd=0xadfe888, packet=0xb3f4249 "alter table t9 discard tablespace", packet_length=33) at mysql-5.6-leveldb/sql/sql_parse.cc:1312
      #14 0x083a22be in do_command (thd=0xadfe888) at mysql-5.6-leveldb/sql/sql_parse.cc:1036
      #15 0x08371c79 in do_handle_one_connection (thd_arg=0xadfe888) at mysql-5.6-leveldb/sql/sql_connect.cc:969
      #16 0x08371822 in handle_one_connection (arg=0xadfe888) at mysql-5.6-leveldb/sql/sql_connect.cc:885
      #17 0x08650697 in pfs_spawn_thread (arg=0xb3d8168) at mysql-5.6-leveldb/storage/perfschema/pfs.cc:1853
      #18 0xb772ae32 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 18:51:53 +0400
      revno: 4467
      branch: mysql-5.6-leveldb

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.