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

Galera cluster 10.2.14 crash after ALTER table

    XMLWordPrintable

Details

    Description

      I have three hosts running MariaDB with Galera Cluster.
      Every worked fine until we have to alter index on one of our tables:

      ALTER TABLE  'db_name`.`table_name` CHANGE `send_by` `send_by` INT(30) NULL DEFAULT NULL;
      

      Before the column `send_by` was of type "VARCHAR" , it has an index on it also.
      All galera nodes(3) crashed with signal 11 after that query:

      May 14 21:06:20 mysqld: 180514 21:06:20 [ERROR] mysqld got signal 11 ;
      May 14 21:06:20 mysqld: This could be because you hit a bug. It is also possible that this binary
      May 14 21:06:20 mysqld: or one of the libraries it was linked against is corrupt, improperly built,
      May 14 21:06:20 mysqld: or misconfigured. This error can also be caused by malfunctioning hardware.
      May 14 21:06:20 mysqld: To report this bug, see https://mariadb.com/kb/en/reporting-bugs
      May 14 21:06:20 mysqld: We will try our best to scrape up some info that will hopefully help
      May 14 21:06:20 mysqld: diagnose the problem, but since we have already crashed,
      May 14 21:06:20 mysqld: something is definitely wrong and this may fail.
      May 14 21:06:20 mysqld: Server version: 10.2.14-MariaDB-log
      May 14 21:06:20 mysqld: key_buffer_size=134217728
      May 14 21:06:20 mysqld: read_buffer_size=4194304
      May 14 21:06:20 mysqld: max_used_connections=1002
      May 14 21:06:20 mysqld: max_threads=2002
      May 14 21:06:20 mysqld: thread_count=830
      May 14 21:06:20 mysqld: It is possible that mysqld could use up to
      May 14 21:06:20 mysqld: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 16574180 K  bytes of memory
      May 14 21:06:20 mysqld: Hope that's ok; if not, decrease some variables in the equation.
      May 14 21:06:20 mysqld: Thread pointer: 0x7f44a40009a8
      May 14 21:06:20 mysqld: Attempting backtrace. You can use the following information to find out
      May 14 21:06:20 mysqld: where mysqld died. If you see no messages after this, something went
      May 14 21:06:20 mysqld: terribly wrong...
      May 14 21:06:20 kernel: mysqld[31633]: segfault at 2 ip 00007f5553a4d118 sp 00007f48af74b1c0 error 4 in libgcc_s-4.8.5-20150702.so.1[7f5553a3e000+15000]
      

      As I saw there was another issue regarding galera cluster crush based on alter unique index
      MDEV-9416
      Please suggest how to fix this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cristian_pirtea Cristian Pirtea
            Votes:
            1 Vote for this issue
            Watchers:
            6 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.