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

[MyRocks] mysqld crashed when running sysbench oltp_insert

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: 5.7.20-19
    • Fix Version/s: None
    • Component/s: MyRocks
    • Labels:
      None

      Description

      mysqld: /home/tom/innosql/mysql-5.7.20/storage/rocksdb/rocksdb/db/memtable.cc:103: rocksdb::MemTable::MemTable(const rocksdb::InternalKeyComparator&, const rocksdb::ImmutableCFOptions&, const rocksdb::MutableCFOptions&, rocksdb::WriteBufferManager*, rocksdb::SequenceNumber, uint32_t): Assertion `!ShouldScheduleFlush()' failed.
      03:04:39 UTC - mysqld got signal 6 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
      Attempting to collect some information that could help diagnose the problem.
      As this is a crash and something is definitely wrong, the information
      collection process might fail.

      key_buffer_size=8388608
      read_buffer_size=131072
      max_used_connections=257
      max_threads=2000
      thread_count=257
      connection_count=257
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 803051 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x24562000
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 7ff8ad675e30 thread_stack 0x40000
      ./mysqld(my_print_stacktrace+0x2c)[0xec5bbc]
      ./mysqld(handle_fatal_signal+0x451)[0x7b8121]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0xf0a0)[0x7ff9cbaef0a0]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7ff9ca799125]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x180)[0x7ff9ca79c3a0]
      /lib/x86_64-linux-gnu/libc.so.6(__assert_fail+0xf1)[0x7ff9ca792311]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(_ZN7rocksdb8MemTableC1ERKNS_21InternalKeyComparatorERKNS_18ImmutableCFOptionsERKNS_16MutableCFOptionsEPNS_18WriteBufferManagerEmj+0x6ea)[0x7ff8b657d46a]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(_ZN7rocksdb16ColumnFamilyData20ConstructNewMemtableERKNS_16MutableCFOptionsEm+0x4a)[0x7ff8b64c891a]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(_ZN7rocksdb6DBImpl14SwitchMemtableEPNS_16ColumnFamilyDataEPNS0_12WriteContextE+0x4fd)[0x7ff8b651a25d]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(_ZN7rocksdb6DBImpl15ScheduleFlushesEPNS0_12WriteContextE+0x47)[0x7ff8b651bbb7]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(_ZN7rocksdb6DBImpl15PreprocessWriteERKNS_12WriteOptionsEPbPNS0_12WriteContextE+0x1e9)[0x7ff8b651be99]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(ZN7rocksdb6DBImpl9WriteImplERKNS_12WriteOptionsEPNS_10WriteBatchEPNS_13WriteCallbackEPmmbS8+0x7cb)[0x7ff8b651f29b]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(_ZN7rocksdb6DBImpl5WriteERKNS_12WriteOptionsEPNS_10WriteBatchE+0x30)[0x7ff8b6520760]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(_ZN7rocksdb17WriteCommittedTxn28CommitWithoutPrepareInternalEv+0x4a)[0x7ff8b674608a]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(_ZN7rocksdb22PessimisticTransaction6CommitEv+0x394)[0x7ff8b6746fe4]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(_ZN7myrocks20Rdb_transaction_impl16commit_no_binlogEv+0x25)[0x7ff8b6473ed5]
      /home/tom/database/myrocks/lib/plugin/ha_rocksdb.so(+0x28b9fb)[0x7ff8b64569fb]
      ./mysqld(_Z13ha_commit_lowP3THDbb+0x8c)[0x802c5c]
      ./mysqld(_ZN11TC_LOG_MMAP6commitEP3THDb+0x31)[0xd452e1]
      ./mysqld(_Z15ha_commit_transP3THDbb+0x121)[0x8034e1]
      ./mysqld(_Z17trans_commit_stmtP3THD+0x2e)[0xd46a0e]
      ./mysqld(_Z21mysql_execute_commandP3THDb+0x39f2)[0xca34e2]
      ./mysqld(_Z11mysql_parseP3THDP12Parser_state+0x395)[0xca6425]
      ./mysqld(_Z16dispatch_commandP3THDPK8COM_DATA19enum_server_command+0xa59)[0xca6ef9]

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tomwang tom wang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: