Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-2960

[ERROR] WSREP: invalid state MUST_CERT_AND_REPLAY (FATAL)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Incomplete
    • Affects Version/s: 5.7.25-31.35, 5.7.28-31.41
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

       

      Server version: 5.7.25-28-57-log Percona XtraDB Cluster (GPL), Release rel28, Revision a2ef85f, WSREP version 31.35, wsrep_31.35 crashes randomly with the same error during RECORD LOCKS event.

      
      2020-01-30T18:37:03.916694Z 48 [ERROR] WSREP: invalid state MUST_CERT_AND_REPLAY (FATAL)
       at galera/src/replicator_smm.cpp:abort_trx():788
      2020-01-30T18:37:03.916738Z 48 [ERROR] WSREP: cancel commit bad exit: 7 1123279685
      18:37:03 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.
      Please help us make Percona XtraDB Cluster better by reporting any
      bugs at https://jira.percona.com/projects/PXC/issues
      key_buffer_size=268435456
      read_buffer_size=131072
      max_used_connections=146
      max_threads=2010
      thread_count=112
      connection_count=47
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2595712 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
      Thread pointer: 0x7fd05b45d000
      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 = 7fd29df39e78 thread_stack 0x40000
      /usr/sbin/mysqld(my_print_stacktrace+0x2c)[0x55e5bad7f53c]
      /usr/sbin/mysqld(handle_fatal_signal+0x489)[0x55e5ba662df9]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0)[0x7fd2b9bf40c0]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf)[0x7fd2b7856fff]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7fd2b785842a]
      /usr/sbin/mysqld(_Z27wsrep_innobase_kill_one_trxPvPK5trx_tPS0_m+0xe03)[0x55e5bae20313]
      /usr/sbin/mysqld(+0xe6ff14)[0x55e5bae79f14]
      /usr/sbin/mysqld(_Z30lock_rec_insert_check_and_lockmPKhP11buf_block_tP12dict_index_tP9que_thr_tP5mtr_tPm+0x1ba)[0x55e5bae7ed1a]
      /usr/sbin/mysqld(_Z25btr_cur_optimistic_insertmP9btr_cur_tPPmPP16mem_block_info_tP8dtuple_tPPhPP9big_rec_tmP9que_thr_tP5mtr_t+0x70c)[0x55e5baff173c]
      /usr/sbin/mysqld(_Z27row_ins_sec_index_entry_lowmmP12dict_index_tP16mem_block_info_tS2_P8dtuple_tmP9que_thr_tb+0x1361)[0x55e5baf0e831]
      /usr/sbin/mysqld(_Z23row_ins_sec_index_entryP12dict_index_tP8dtuple_tP9que_thr_tb+0x144)[0x55e5baf0f314]
      /usr/sbin/mysqld(_Z12row_ins_stepP9que_thr_t+0x18c)[0x55e5baf0f91c]
      /usr/sbin/mysqld(+0xf19946)[0x55e5baf23946]
      /usr/sbin/mysqld(_ZN11ha_innobase9write_rowEPh+0x326)[0x55e5bae2f426]
      /usr/sbin/mysqld(_ZN7handler12ha_write_rowEPh+0x112)[0x55e5ba6e5b22]
      /usr/sbin/mysqld(_ZN20Write_rows_log_event9write_rowEPK14Relay_log_infob+0x13d)[0x55e5bacf306d]
      /usr/sbin/mysqld(_ZN20Write_rows_log_event11do_exec_rowEPK14Relay_log_info+0x85)[0x55e5bacf3475]
      /usr/sbin/mysqld(_ZN14Rows_log_event12do_apply_rowEPK14Relay_log_info+0x26)[0x55e5bacddd56]
      /usr/sbin/mysqld(_ZN14Rows_log_event14do_apply_eventEPK14Relay_log_info+0xdcc)[0x55e5bacf018c]
      /usr/sbin/mysqld(_ZN9Log_event11apply_eventEP14Relay_log_info+0x5d)[0x55e5bace77cd]
      /usr/sbin/mysqld(_Z14wsrep_apply_cbPvPKvmjPK14wsrep_trx_meta+0x3d2)[0x55e5ba67b9f2]
      /usr/lib/libgalera_smm.so(_ZNK6galera9TrxHandle5applyEPvPF15wsrep_cb_statusS1_PKvmjPK14wsrep_trx_metaERS6_+0xde)[0x7fd2abd2c05e]
      /usr/lib/libgalera_smm.so(+0x22f464)[0x7fd2abd74464]
      /usr/lib/libgalera_smm.so(_ZN6galera13ReplicatorSMM9apply_trxEPvPNS_9TrxHandleE+0x182)[0x7fd2abd76ed2]
      /usr/lib/libgalera_smm.so(_ZN6galera13ReplicatorSMM11process_trxEPvPNS_9TrxHandleE+0x11e)[0x7fd2abd796de]
      /usr/lib/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x1b8)[0x7fd2abd52cb8]
      /usr/lib/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x6a)[0x7fd2abd5469a]
      /usr/lib/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x7b)[0x7fd2abd79f3b]
      /usr/lib/libgalera_smm.so(galera_recv+0x1d)[0x7fd2abd965dd]
      /usr/sbin/mysqld(+0x6731db)[0x55e5ba67d1db]
      /usr/sbin/mysqld(start_wsrep_THD+0x1ef)[0x55e5ba653e9f]
      /usr/sbin/mysqld(pfs_spawn_thread+0x1b4)[0x55e5bad9a2d4]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494)[0x7fd2b9bea494]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fd2b790cacf]
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0): is an invalid pointer
      Connection ID (thread ID): 48
      Status: NOT_KILLED
      

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lalit.choudhary Lalit Choudhary
                Reporter:
                artjom.superov Artjom Superov
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: