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

mariadb 10.3.29 galera cluster crashes with errors like: "[ERROR] WSREP: Trx 236236 tries to abort slave trx 236238."

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.2.36, 10.3.29
    • 10.2.41, 10.3.32, 10.4.22, 10.5.13, 10.6.5
    • Galera
    • None

    Description

      Starting with mariadb 10.3.29 when deploying a three node galera cluster, we are seeing crashes with errors like in [1].
      Please find attached the log files from all three nodes and their configurations. A core dump of the crash in [1] can also be provided.

      [1]

      2021-06-01  9:06:16 0 [ERROR] WSREP: Trx 236236 tries to abort slave trx 236238. This could be caused by:
      	1) unsupported configuration options combination, please check documentation.
      	2) a bug in the code.
      	3) a database corruption.
       Node consistency compromized, need to abort. Restart the node to resync with cluster.
      210601  9:06:16 [ERROR] 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.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.3.29-MariaDB-1:10.3.29+maria~bionic-log
      key_buffer_size=67108864
      read_buffer_size=131072
      max_used_connections=1
      max_threads=10002
      thread_count=12
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 22055535 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0
      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 = 0x0 thread_stack 0x49000
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x5647d689bb8e]
      /usr/sbin/mysqld(handle_fatal_signal+0x515)[0x5647d63308c5]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7fd6316ed980]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7fd631328fb7]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7fd63132a921]
      /usr/sbin/mysqld(+0x90a914)[0x5647d64ba914]
      /usr/sbin/mysqld(+0x90f83c)[0x5647d64bf83c]
      /usr/sbin/mysqld(handle_manager+0x1f3)[0x5647d6142a83]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7fd6316e26db]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fd63140b71f]
      The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /var/lib/mysql
      Resource Limits:
      Limit                     Soft Limit           Hard Limit           Units     
      Max cpu time              unlimited            unlimited            seconds   
      Max file size             unlimited            unlimited            bytes     
      Max data size             unlimited            unlimited            bytes     
      Max stack size            8388608              unlimited            bytes     
      Max core file size        unlimited            unlimited            bytes     
      Max resident set          unlimited            unlimited            bytes     
      Max processes             unlimited            unlimited            processes 
      Max open files            1048576              1048576              files     
      Max locked memory         16777216             16777216             bytes     
      Max address space         unlimited            unlimited            bytes     
      Max file locks            unlimited            unlimited            locks     
      Max pending signals       64055                64055                signals   
      Max msgqueue size         819200               819200               bytes     
      Max nice priority         0                    0                    
      Max realtime priority     0                    0                    
      Max realtime timeout      unlimited            unlimited            us        
      Core pattern: core
      

      Attachments

        1. os-ctrl-0-galera.cnf
          1 kB
        2. os-ctrl-1-galera.cnf
          1 kB
        3. os-ctrl-2-galera.cnf
          1 kB
        4. os-ctrl-0-mariadb.log
          275 kB
        5. os-ctrl-1-mariadb.log
          373 kB
        6. os-ctrl-2-mariadb.log
          143 kB

        Issue Links

          Activity

            People

              seppo Seppo Jaakola
              jhorstmann Jan Horstmann
              Votes:
              8 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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