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

rocksdb.drop_table locks in set global rocksdb_compact_cf = 'cf1'

    XMLWordPrintable

Details

    Description

      I get sometimes a wait timeout in rocksdb.drop_table when running the whole test suite.

      #0  0x00007fb1a394103f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x00007fb19cbe181e in rocksdb::port::CondVar::Wait (this=0x30eea58) at /my/maria-10.2-spider/storage/rocksdb/rocksdb/port/port_posix.cc:90
      #2  0x00007fb19ca7d0ac in rocksdb::InstrumentedCondVar::WaitInternal (this=0x30eea58) at /my/maria-10.2-spider/storage/rocksdb/rocksdb/monitoring/instrumented_mutex.cc:60
      #3  0x00007fb19ca7d04a in rocksdb::InstrumentedCondVar::Wait (this=0x30eea58) at /my/maria-10.2-spider/storage/rocksdb/rocksdb/monitoring/instrumented_mutex.cc:52
      #4  0x00007fb19c95aca5 in rocksdb::DBImpl::RunManualCompaction (this=0x30ee550, cfd=0x310dea0, input_level=1, output_level=1, output_path_id=0, begin=0x0, end=0x0, exclusive=false, disallow_trivial_move=false) at /my/maria-10.2-spider/storage/rocksdb/rocksdb/db/db_impl_compaction_flush.cc:897
      #5  0x00007fb19c957b33 in rocksdb::DBImpl::CompactRange (this=0x30ee550, options=..., column_family=0x3112790, begin=0x0, end=0x0) at /my/maria-10.2-spider/storage/rocksdb/rocksdb/db/db_impl_compaction_flush.cc:347
      #6  0x00007fb19cbaedf0 in rocksdb::StackableDB::CompactRange (this=0x3139230, options=..., column_family=0x3112790, begin=0x0, end=0x0) at /my/maria-10.2-spider/storage/rocksdb/rocksdb/include/rocksdb/utilities/stackable_db.h:202
      #7  0x00007fb19c831355 in myrocks::rocksdb_compact_column_family (thd=0x7fb16c000a98, var=0x7fb19d1c2c60 <myrocks::mysql_sysvar_compact_cf>, var_ptr=0x7fb16c13a5f8, value=0x7fb195a79360) at /my/maria-10.2-spider/storage/rocksdb/ha_rocksdb.cc:220
      #8  0x000000000071d2af in sys_var_pluginvar::do_check (this=0x30e0540, thd=0x7fb16c000a98, var=0x7fb16c13a5d0) at /my/maria-10.2-spider/sql/sql_plugin.cc:3425
      #9  0x0000000000645ba0 in sys_var::check (this=0x30e0540, thd=0x7fb16c000a98, var=0x7fb16c13a5d0) at /my/maria-10.2-spider/sql/set_var.cc:248
      #10 0x00000000006474de in set_var::check (this=0x7fb16c13a5d0, thd=0x7fb16c000a98) at /my/maria-10.2-spider/sql/set_var.cc:777
      #11 0x00000000006471cc in sql_set_variables (thd=0x7fb16c000a98, var_list=0x7fb16c005480, free=true) at /my/maria-10.2-spider/sql/set_var.cc:719
      #12 0x0000000000703641 in mysql_execute_command (thd=0x7fb16c000a98) at /my/maria-10.2-spider/sql/sql_parse.cc:4816
      #13 0x000000000070cc1b in mysql_parse (thd=0x7fb16c000a98, rawbuf=0x7fb16c137930 "set global rocksdb_compact_cf = 'cf1'", length=37, parser_state=0x7fb195a7a1d0, is_com_multi=false, is_next_command=false) at /my/maria-10.2-spider/sql/sql_parse.cc:7861
      

      Attachments

        Issue Links

          Activity

            People

              psergei Sergei Petrunia
              monty Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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