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

SST failing when enabling IPV6

    XMLWordPrintable

    Details

      Description

      Folks,

      After configuring the MariaDB Cluster with the settings to support SST over IPV6, with the below:

      [sst]
      sockopt="pf=ip6"
      

      I started seeing the below on error log when the SST fails:

      WSREP_SST: [INFO] Evaluating timeout -k 110 100 socat -u TCP-LISTEN:4444,reuseaddrpf=ip6 stdio | mbstream -x; RC=( ${PIPESTATUS[@]} ) (20191202 18:34:41.545)
      2019/12/02 18:34:41 socat[15907] E parseopts(): unknown option "reuseaddrpf"
      

      I hacked it, so it works, but, weird case and easy to fix:

      [sst]
      sockopt=",pf=ip6"
      --
      WSREP_SST: [INFO] Evaluating socat -u TCP-LISTEN:4444,reuseaddr,pf=ip6 stdio | mbstream -x; RC=( ${PIPESTATUS[@]} ) (20191202 20:30:40.546)
      WSREP_SST: [INFO] Cleaning the existing datadir and innodb-data/log directories (20191202 20:30:40.547)
      removed '/var/lib/mysql/aria_log_control'
      removed '/var/lib/mysql/aria_log.00000001'
      removed '/var/lib/mysql/ibdata1'
      removed '/var/lib/mysql/ib_logfile1'
      removed '/var/lib/mysql/mysql.sock'
      ...
      

      Can we fix it?

      Thanks!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sysprg Julius Goryavsky
              Reporter:
              wagnerbianchi Wagner Bianchi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration