Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4527

TokuDB: Server crashes on ROLLBACK TO SAVEPOINT after the 2nd savepoint

    XMLWordPrintable

Details

    Description

      #3  <signal handler called>
      #4  0x00007f161f948668 in tokudb_rollback_to_savepoint (hton=0x7f1614044e40, thd=0x39fcdc0, savepoint=0x7f1614007528) at 5.5-hf-tokudb/storage/tokudb/hatoku_hton.cc:1000
      #5  0x00000000007cc9b1 in ha_rollback_to_savepoint (thd=0x39fcdc0, sv=0x7f16140074c8) at 5.5-hf-tokudb/sql/handler.cc:1858
      #6  0x0000000000723d8a in trans_rollback_to_savepoint (thd=0x39fcdc0, name=...) at 5.5-hf-tokudb/sql/transaction.cc:479
      #7  0x0000000000614373 in mysql_execute_command (thd=0x39fcdc0) at 5.5-hf-tokudb/sql/sql_parse.cc:3852
      #8  0x0000000000619204 in mysql_parse (thd=0x39fcdc0, rawbuf=0x7f161408ab38 "rollback to savepoint sp1", length=25, parser_state=0x7f161fcf1500) at 5.5-hf-tokudb/sql/sql_parse.cc:5760
      #9  0x000000000060c8f4 in dispatch_command (command=COM_QUERY, thd=0x39fcdc0, packet=0x3a6dad1 "rollback to savepoint sp1", packet_length=25) at 5.5-hf-tokudb/sql/sql_parse.cc:1068
      #10 0x000000000060bb35 in do_command (thd=0x39fcdc0) at 5.5-hf-tokudb/sql/sql_parse.cc:794
      #11 0x0000000000712025 in do_handle_one_connection (thd_arg=0x39fcdc0) at 5.5-hf-tokudb/sql/sql_connect.cc:1266
      #12 0x0000000000711a0c in handle_one_connection (arg=0x39fcdc0) at 5.5-hf-tokudb/sql/sql_connect.cc:1181
      #13 0x0000000000960094 in pfs_spawn_thread (arg=0x3a40df0) at 5.5-hf-tokudb/storage/perfschema/pfs.cc:1015
      #14 0x00007f162b3dee9a in start_thread (arg=0x7f161fcf2700) at pthread_create.c:308
      #15 0x00007f162a6d2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

      bzr version-info

      revision-id: holyfoot@askmonty.org-20130514121908-d6tp4zsdkim0q4dg
      revno: 3768
      branch-nick: 5.5-hf-tokudb

      Test case:

      install soname 'ha_tokudb.so';
       
      drop table if exists t_toku;
      create table t_toku (pk int primary key) engine=TokuDB;
      begin;
      insert into t_toku values (1),(2);
      savepoint sp1;
      insert into t_toku values (3);
      savepoint sp2;
      insert into t_toku values (4);
      rollback to savepoint sp1;
      commit;
       
      select * from t_toku;
      drop table t_toku;

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.