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

Backport MDEV-13968 to 10.1: SST mysqldump fails at /usr//bin/wsrep_sst_common: line 94: WSREP_SST_OPT_PORT: readonly variable

Details

    Description

      SST method mysqldump does not seem to work at all.

      /usr//bin/wsrep_sst_common: line 94: WSREP_SST_OPT_PORT: readonly variable
      2018-03-11 15:41:39 140711682767616 [ERROR] WSREP: Process completed with error: wsrep_sst_mysqldump --address '10.0.2.15:8308' --port '8308' --local-port '8307' --socket '/tmp/node2.sock'  '' --gtid 'abf3a5e3-253e-11e8-993f-72f1d4d8f4d2:2' --gtid-domain-id '0' --bypass: 1 (Operation not permitted)
      

      WSREP_SST_OPT_PORT is set to readonly first when --address is processed, and then again when --port is processed. The second attempt fails, and so does the whole script. I don't see how it can be avoided, maybe it doesn't happen when it runs on the default port.

      It seems to have been fixed in 10.2 in the scope of MDEV-13968.

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment - - edited

            --address is formed with mysqld_port in sst_prepare_mysqldump and --port is also formed with mysqld_port in sst_donate_mysqldump. Luckily the same.

            Because the fixes conflicted with MDEV-15496 I've backported the MDEV-15409 fixes to this pull request: https://github.com/MariaDB/server/pull/644.

            I've checked 5.5-galera isn't affected however 10.0-galera is.

            danblack Daniel Black added a comment - - edited --address is formed with mysqld_port in sst_prepare_mysqldump and --port is also formed with mysqld_port in sst_donate_mysqldump . Luckily the same. Because the fixes conflicted with MDEV-15496 I've backported the MDEV-15409 fixes to this pull request: https://github.com/MariaDB/server/pull/644 . I've checked 5.5-galera isn't affected however 10.0-galera is.

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.