Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-5055

virtual rocksdb::Status rocksdb::BlockCacheTier::Open(): Assertion `status.ok()' failed.

    XMLWordPrintable

    Details

      Description

      --plugin-load-add=RocksDB=ha_rocksdb.so --rocksdb-persistent-cache-size-mb=2049
      

      Leads to:

      2018-11-20T22:03:07.928448Z 0 [Note] RocksDB: 2 column families found
      mysqld: /git/ps-5.7-5049_dbg/storage/rocksdb/rocksdb/utilities/persistent_cache/block_cache_tier.cc:33: virtual rocksdb::Status rocksdb::BlockCacheTier::Open(): Assertion `status.ok()' failed.
      22:03:07 UTC - mysqld got signal 6 ;
      
       Core was generated by `/sda/PS201118-percona-server-5.7.23-24-linux-x86_64-debug/bin/mysqld --no-defau'.
      Program terminated with signal SIGABRT, Aborted.
      #0  __pthread_kill (threadid=<optimized out>, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
      [Current thread is 1 (Thread 0x7f5b50957780 (LWP 1220))]
      (gdb) bt
      #0  __pthread_kill (threadid=<optimized out>, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
      #1  0x0000561a81293940 in my_write_core (sig=6) at /git/ps-5.7-5049_dbg/mysys/stacktrace.c:249
      #2  0x0000561a80fe6213 in handle_fatal_signal (sig=6) at /git/ps-5.7-5049_dbg/sql/signal_handler.cc:223
      #3  <signal handler called>
      #4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #5  0x00007f5b4e2b7801 in __GI_abort () at abort.c:79
      #6  0x00007f5b4e2a739a in __assert_fail_base (fmt=0x7f5b4e42e7d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
          assertion=assertion@entry=0x7f5b11a98df3 "status.ok()", 
          file=file@entry=0x7f5b11a98d90 "/git/ps-5.7-5049_dbg/storage/rocksdb/rocksdb/utilities/persistent_cache/block_cache_tier.cc", 
          line=line@entry=33, 
          function=function@entry=0x7f5b11a9aca0 <rocksdb::BlockCacheTier::Open()::__PRETTY_FUNCTION__> "virtual rocksdb::Status rocksdb::BlockCacheTier::Open()") at assert.c:92
      #7  0x00007f5b4e2a7412 in __GI___assert_fail (assertion=0x7f5b11a98df3 "status.ok()", 
          file=0x7f5b11a98d90 "/git/ps-5.7-5049_dbg/storage/rocksdb/rocksdb/utilities/persistent_cache/block_cache_tier.cc", line=33, 
          function=0x7f5b11a9aca0 <rocksdb::BlockCacheTier::Open()::__PRETTY_FUNCTION__> "virtual rocksdb::Status rocksdb::BlockCacheTier::Open()") at assert.c:101
      #8  0x00007f5b117f3849 in rocksdb::BlockCacheTier::Open (this=0x7f5b37912010)
          at /git/ps-5.7-5049_dbg/storage/rocksdb/rocksdb/utilities/persistent_cache/block_cache_tier.cc:33
      #9  0x00007f5b117f6359 in rocksdb::NewPersistentCache (env=0x7f5b11f5aca0 <rocksdb::Env::Default()::default_env>, path="", 
          size=2148532224, log=std::shared_ptr<rocksdb::Logger> (use count 6, weak count 0) = {...}, optimized_for_nvm=true, 
          cache=0x7ffdf0a82c40) at /git/ps-5.7-5049_dbg/storage/rocksdb/rocksdb/utilities/persistent_cache/block_cache_tier.cc:413
      #10 0x00007f5b1124612d in myrocks::rocksdb_init_func (p=0x7f5b437cbd60) at /git/ps-5.7-5049_dbg/storage/rocksdb/ha_rocksdb.cc:4128
      #11 0x0000561a80808bd1 in ha_initialize_handlerton (plugin=0x7f5b37904a90) at /git/ps-5.7-5049_dbg/sql/handler.cc:873
      #12 0x0000561a80eb1cd5 in plugin_initialize (plugin=0x7f5b37904a90) at /git/ps-5.7-5049_dbg/sql/sql_plugin.cc:1252
      #13 0x0000561a80eb20f4 in plugin_init_initialize_and_reap () at /git/ps-5.7-5049_dbg/sql/sql_plugin.cc:1407
      #14 0x0000561a80eb2d5e in plugin_register_dynamic_and_init_all (argc=0x561a827a6510 <remaining_argc>, argv=0x7f5b4d840300, flags=0)
          at /git/ps-5.7-5049_dbg/sql/sql_plugin.cc:1692
      #15 0x0000561a80fd6338 in init_server_components () at /git/ps-5.7-5049_dbg/sql/mysqld.cc:4363
      #16 0x0000561a80fd7c63 in mysqld_main (argc=15, argv=0x7f5b4d840300) at /git/ps-5.7-5049_dbg/sql/mysqld.cc:5131
      #17 0x0000561a807e865a in main (argc=15, argv=0x7ffdf0a84188) at /git/ps-5.7-5049_dbg/sql/main.cc:25
      

       

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  george.lorch George Lorch
                  Reporter:
                  roel.vandepaar Roel Van de Paar (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 2 hours, 2 minutes
                    2h 2m