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

Galera cluster synchronization fails when using custom decompressor with arguments

    XMLWordPrintable

    Details

    • Sprint:
      10.2.13

      Description

      Using:

      [sst]
      compressor=pigz
      decompressor='pigz -dc'
      

      ... makes synchronization fail with

      /usr//bin/wsrep_sst_common: line 275: [: pigz: binary operator expected
      

      The changes in

      scripts/wsrep_sst_common.sh

      should have been made with double-quotes rounding the variables to prevent the shell from interpreting extra args applied to the (de)compressor command.
      https://github.com/MariaDB/server/commit/98e09ee4b624ded618124986fa0c04ef85e08cc0

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              seppo Seppo Jaakola
              Reporter:
              bmalynovytch Benjamin MALYNOVYTCH
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: