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

leveldb.test hangs

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • I am testing up to revno 4594 on mysql-5-6-leveldb

    Description

      This is the output from mtr when the test hangs.

      $ ./mysql-test-run.pl leveldb
      Logging: ./mysql-test-run.pl  leveldb
      2013-02-08 11:41:28 11898 [Note] Plugin 'FEDERATED' is disabled.
      2013-02-08 11:41:28 11898 [Note] Binlog end
      2013-02-08 11:41:28 11898 [Note] Shutting down plugin 'MyISAM'
      2013-02-08 11:41:28 11898 [Note] Shutting down plugin 'CSV'
      MySQL Version 5.6.9
      Checking supported features...
       - skipping ndbcluster
       - SSL connections supported
      Collecting tests...
      Removing old var directory...
      Creating var directory '/home/mcallaghan/b/mysql-5.6-leveldb/mysql-test/var'...
      Installing system database...
      Using server port 52391
       
      ==============================================================================
       
      TEST                                      RESULT   TIME (ms) or COMMENT
      --------------------------------------------------------------------------
       
      worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
      worker[1] Trying to dump core for [mysqltest - pid: 11949, winpid: 11949]
      worker[1] Trying to dump core for [mysqld.1 - pid: 11925, winpid: 11925]
      main.leveldb                             [ fail ]  timeout after 900 seconds
              Test ended at 2013-02-08 11:57:13
       
      Test case timeout after 900 seconds
       
      == /home/mcallaghan/b/mysql-5.6-leveldb/mysql-test/var/log/leveldb.log == 
      #
      create table t48(pk int primary key auto_increment, col1 varchar(12)) engine=leveldb;
      set autocommit=0;
      truncate table t48;
      set autocommit=1;
      drop table t48;
      #
      # MDEV-4059: LevelDB: query waiting for a lock cannot be killed until query timeout exceeded
      #
      create table t49 (pk int primary key, a int) engine=LevelDB;
      insert into t49 values (1,10),(2,20);
      begin;
      update t49 set a = 100 where pk = 1;
      connect  con1,localhost,root,,;
      set leveldb_lock_wait_timeout=5000;
      set @var1= to_seconds(now());
      update t49 set a = 1000 where pk = 1;
      connect  con2,localhost,root,,;
      kill query 5;
      connection con1;
       
       == /home/mcallaghan/b/mysql-5.6-leveldb/mysql-test/var/tmp/analyze-timeout-mysqld.1.err ==
      mysqltest: Could not open connection 'default' after 500 attempts: 2002 Can't connect to local MySQL server through socket '/home/mcallaghan/b/mysql-5.6-leveldb/mysql-test/var/tmp/mysqld.1.sock' (111)

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            mdcallag Mark Callaghan
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.