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

Make mariabackup/xtrabackup-v2 SST script autodetect ipv6 addresses and add relevant socat option

Details

    Description

      If a mariabackup or xtrabackup-v2 SST is done with an IPv6 address, then you need to add the pf=ip6 option to socat. This is done by adding the following to the [sst] option group in an option file:

      [sst]
      sockopt=",pf=ip6"
      

      For example, see the following configuration file from an automated test:

      https://github.com/MariaDB/server/blob/4aea6b3e3f3fd1a8a2526bc40fc5e85e571d8242/mysql-test/suite/galera_3nodes/t/galera_ipv6_mariabackup.cnf#L29

      Would it be possible for the mariabackup/xtrabackup-v2 SST scripts to auto-detect IPv6 addresses, and then automatically add this socat option, so that users do not need to explicitly provide it?

      Attachments

        Issue Links

          Activity

            GeoffMontee Geoff Montee (Inactive) created issue -
            GeoffMontee Geoff Montee (Inactive) made changes -
            Field Original Value New Value
            GeoffMontee Geoff Montee (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            Summary Make mariabackup/xtrabackup-v2 SST script autodetect ipv6 addresses and Make mariabackup/xtrabackup-v2 SST script autodetect ipv6 addresses and add relevant socat option
            GeoffMontee Geoff Montee (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            jira-update-service Jira Update Service made changes -
            Support case ID 26587 not-26587
            jplindst Jan Lindström (Inactive) made changes -
            Assignee Jan Lindström [ jplindst ] Ralf Gebhardt [ ralf.gebhardt@mariadb.com ]

            Feature request.

            jplindst Jan Lindström (Inactive) added a comment - Feature request.
            sysprg Julius Goryavsky made changes -
            Assignee Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] Julius Goryavsky [ sysprg ]
            sysprg Julius Goryavsky made changes -
            sysprg Julius Goryavsky made changes -
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]

            Fixed as part of MDEV-21192

            sysprg Julius Goryavsky added a comment - Fixed as part of MDEV-21192
            sysprg Julius Goryavsky made changes -
            Fix Version/s 10.6.2 [ 25800 ]
            Fix Version/s 10.2.39 [ 25731 ]
            Fix Version/s 10.3.30 [ 25732 ]
            Fix Version/s 10.4.20 [ 25733 ]
            Fix Version/s 10.5.11 [ 25734 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Issue Type Task [ 3 ] Bug [ 1 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 92938 ] MariaDB v4 [ 155839 ]
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 191382

            People

              sysprg Julius Goryavsky
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              2 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.