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

Assertion `!rocksdb_db_options->allow_mmap_writes' failed in virtual void myrocks::Rdb_background_thread::run()

    Details

      Description

      GDB info

      #0 __pthread_kill (threadid=<optimized out>, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:62
      #1 0x000000000199cc45 in my_write_core (sig=6) at /qa/work/PS-5.7-trunk_dbg/mysys/stacktrace.c:249
      #2 0x0000000000f16a96 in handle_fatal_signal (sig=6) at /qa/work/PS-5.7-trunk_dbg/sql/signal_handler.cc:223
      #3 <signal handler called>
      #4 0x00007f07df671428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
      #5 0x00007f07df67302a in __GI_abort () at abort.c:89
      #6 0x00007f07df669bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7f07b6aa56c0 "!rocksdb_db_options->allow_mmap_writes", file=file@entry=0x7f07b6aa0b08 "/qa/work/PS-5.7-trunk_dbg/storage/rocksdb/ha_rocksdb.cc", line=line@entry=10386, function=function@entry=0x7f07b6aaa460 <myrocks::Rdb_background_thread::run()::__PRETTY_FUNCTION__> "virtual void myrocks::Rdb_background_thread::run()") at assert.c:92
      #7 0x00007f07df669c82 in __GI___assert_fail (assertion=0x7f07b6aa56c0 "!rocksdb_db_options->allow_mmap_writes", file=0x7f07b6aa0b08 "/qa/work/PS-5.7-trunk_dbg/storage/rocksdb/ha_rocksdb.cc", line=10386, function=0x7f07b6aaa460 <myrocks::Rdb_background_thread::run()::__PRETTY_FUNCTION__> "virtual void myrocks::Rdb_background_thread::run()") at assert.c:101
      #8 0x00007f07b653c355 in myrocks::Rdb_background_thread::run (this=0x7f07b6fe72e0 <myrocks::rdb_bg_thread>) at /qa/work/PS-5.7-trunk_dbg/storage/rocksdb/ha_rocksdb.cc:10386
      #9 0x00007f07b65e8264 in myrocks::Rdb_thread::thread_func (thread_ptr=0x7f07b6fe72e0 <myrocks::rdb_bg_thread>) at /qa/work/PS-5.7-trunk_dbg/storage/rocksdb/rdb_threads.cc:31
      #10 0x00000000019c1d89 in pfs_spawn_thread (arg=0x7f07d4fe7520) at /qa/work/PS-5.7-trunk_dbg/storage/perfschema/pfs.cc:2188
      #11 0x00007f07e02b56ba in start_thread (arg=0x7f07abff0700) at pthread_create.c:333
      #12 0x00007f07df7433dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      

      Testcase

      # mysqld options required for replay: --plugin-load-add=rocksdb=ha_rocksdb.so --rocksdb-allow-mmap-writes=1 --server-id=1
      SET GLOBAL rocksdb_flush_log_at_trx_commit=2;
      

       

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                george.lorch George Lorch
                Reporter:
                ramesh.sivaraman Ramesh Sivaraman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: