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

wsrep_sst_mariabackup script broken on 10.11.10

    XMLWordPrintable

Details

    Description

      When upgrading one node in my Galera cluster from 10.11.9 to 10.11.10, i noticed that the upgraded node was unable to start correctly. The following lines were appearing in syslog"

      Nov 29 13:19:34 node02 -wsrep-sst-joiner: Cleanup after exit with status: 1
      Nov 29 13:19:34 node02 mariadbd[2661482]: 2024-11-29 13:19:34 0 [ERROR] WSREP: Failed to read 'ready <addr>' (got '(null)') from: wsrep_sst_mariabackup --role 'joiner' --address '10.97.149.12' --datadir '/var/lib/mysql/' --parent 2661482 --progress 0 --binlog '/var/log/mysql/mysql-bin' --binlog-index '/var/log/mysql/mariadb-bin.index' --mysqld-args --wsrep_start_position=e3a052f3-0858-11ef-b83e-67fa45d180b1:191
      Nov 29 13:19:34 node02 mariadbd[2661482]: 2024-11-29 13:19:34 0 [ERROR] WSREP: Process completed with error: wsrep_sst_mariabackup --role 'joiner' --address '10.97.149.12' --datadir '/var/lib/mysql/' --parent 2661482 --progress 0 --binlog '/var/log/mysql/mysql-bin' --binlog-index '/var/log/mysql/mariadb-bin.index' --mysqld-args --wsrep_start_position=e3a052f3-0858-11ef-b83e-67fa45d180b1:191: 1 (Operation not permitted)
      Nov 29 13:19:34 node02 mariadbd[2661482]: 2024-11-29 13:19:34 2 [ERROR] WSREP: Failed to prepare for 'mariabackup' SST. Unrecoverable.
      Nov 29 13:19:34 node02 mariadbd[2661482]: 2024-11-29 13:19:34 2 [ERROR] WSREP: SST request callback failed. This is unrecoverable, restart required.
      

      I've attached some more logging in an attachment

      I was able to fix replication by replacing the new script with the old script, used in 10.11.9, in /usr/bin/wsrep_sst_mariabackup

      Attachments

        1. mariadb_10.11.1_crash_logs.txt
          19 kB
          Lann Veltmaat
        2. wsrep_sst_common.sh
          66 kB
          Julius Goryavsky
        3. wsrep_sst_mariabackup.sh
          49 kB
          Julius Goryavsky
        4. wsrep_sst_rsync.sh
          30 kB
          Julius Goryavsky

        Activity

          People

            sysprg Julius Goryavsky
            lveltmaat Lann Veltmaat
            Votes:
            0 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.