Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-3680

mysqld will abort if Columnstore.xml is missing

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.4.3
    • None
    • None
    • 2020-1, 2020-2

    Description

      terminate called after throwing an instance of 'std::runtime_error'
        what():  Config::Config: error accessing config file /etc/columnstore/Columnstore.xml
      191218 15:19:07 [ERROR] mysqld got signal 6 ;
      

      It should error but not abort the whole server.

      Attachments

        Activity

          tntnatbry should this be marked for review or is there more work to do on the PR?

          LinuxJedi Andrew Hutchings (Inactive) added a comment - tntnatbry should this be marked for review or is there more work to do on the PR?

          LinuxJedi This is ready for review. I was not sure how to move the issue to review in Jira.

          tntnatbry Gagan Goel (Inactive) added a comment - LinuxJedi This is ready for review. I was not sure how to move the issue to review in Jira.

          Build verified: 1.4.3-1 BB nightly

          engine commit:
          f843e98

          shutdown system and rename Columnstore.xml to Columnstore.xml.bak.

          reproduced the issue in 1.4.1-1, but not in 1.4.2-1.

          1.4.1-1

          [root@localhost sbin]# /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/localhost.localdomain.err --pid-file=localhost.localdomain.pid
          2020-02-14 22:33:50 0 [Note] /usr/sbin/mysqld (mysqld 10.4.10-4-MariaDB) starting as process 15661 ...

          Aborted

          ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
          [root@localhost ~]#

          Verified in 1.4.3-1

          1.4.3-1

          /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/localhost.localdomain.err --pid-file=localhost.localdomain.pid
          2020-02-14 22:35:24 0 [Note] /usr/sbin/mysqld (mysqld 10.4.12-6-MariaDB) starting as process 31939 ...

          [root@localhost columnstore]# mysql
          Welcome to the MariaDB monitor. Commands end with ; or \g.
          Your MariaDB connection id is 9
          Server version: 10.4.12-6-MariaDB Source distribution

          Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

          Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

          MariaDB [(none)]>

          dleeyh Daniel Lee (Inactive) added a comment - Build verified: 1.4.3-1 BB nightly engine commit: f843e98 shutdown system and rename Columnstore.xml to Columnstore.xml.bak. reproduced the issue in 1.4.1-1, but not in 1.4.2-1. 1.4.1-1 [root@localhost sbin] # /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/localhost.localdomain.err --pid-file=localhost.localdomain.pid 2020-02-14 22:33:50 0 [Note] /usr/sbin/mysqld (mysqld 10.4.10-4-MariaDB) starting as process 15661 ... Aborted ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@localhost ~] # Verified in 1.4.3-1 1.4.3-1 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/localhost.localdomain.err --pid-file=localhost.localdomain.pid 2020-02-14 22:35:24 0 [Note] /usr/sbin/mysqld (mysqld 10.4.12-6-MariaDB) starting as process 31939 ... [root@localhost columnstore] # mysql Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 9 Server version: 10.4.12-6-MariaDB Source distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)] >

          People

            dleeyh Daniel Lee (Inactive)
            LinuxJedi Andrew Hutchings (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.