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

Bug in wsrep_sst_common

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • 10.2.12
    • N/A
    • Galera SST, wsrep
    • None
    • Red Hat 6.9

    Description

      MariaDB Galera Cluster 10.2.12.

      When using xtrabackup-v2 as the SST method and using a compressor like gzip or pigz, the following messages appear in the error logs:

      /bin/wsrep_sst_common: line 274: [: pigz: binary operator expected
      /bin/wsrep_sst_common: line 279: [: pigz: binary operator expected

      For reference: http://galeracluster.com/documentation-webpages/xtrabackupoptions.html

      ----------------------

      It appears to be a shell scripting error with the construction of the IF statement on the previously mentioned line numbers:

      if [ -z $reval ]; then

      ----------------------

      Could this be rewritten like this:

      if [[ -z $reval ]]; then

      using double brackets?

      Attachments

        Issue Links

          Activity

            People

              sachin.setiya.007 Sachin Setiya (Inactive)
              toddstoffel Todd Stoffel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.