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

SST failing when enabling IPV6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.3.20
    • Fix Version/s: 10.3
    • Component/s: Galera SST
    • Labels:
      None

      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

          Activity

            People

            Assignee:
            jplindst Jan Lindström
            Reporter:
            wagnerbianchi Wagner Bianchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: