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

SST fails when sstdir is provided with a relative path instead of an absolute path

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.6
    • 10.6
    • Galera
    • Q4/2025 Galera Development

    Description

      SST option

      [sst]
      sstdir=sst_test
      

      Error info

      2025-10-14  7:25:56 2 [Note] WSREP: GCache history reset: 4378884b-a8cc-11f0-b8b0-56049aa5e204:0 -> 4378884b-a8cc-11f0-b8b0-56049aa5e204:35442
      WSREP_SST: [INFO] Use user-specified directory for SST: 'sst_test' (20251014 07:25:57.308)
      WSREP_SST: [INFO] Proceeding with SST (20251014 07:25:57.318)
      WSREP_SST: [INFO] Evaluating socat -u TCP-LISTEN:12459,reuseaddr stdio | '/home/ramesh/10.6/mariadb-10.6.24-linux-x86_64//bin/mbstream' -x; RC=( ${PIPESTATUS[@]} ) (20251014 07:25:57.319)
      WSREP_SST: [INFO] Cleaning current state in parallel with SST... (20251014 07:25:57.320)
      WSREP_SST: [INFO] Cleaning the old binary logs (20251014 07:25:57.341)
      WSREP_SST: [INFO] Cleaning the existing datadir and innodb-data/log directories (20251014 07:25:57.345)
      WSREP_SST: [INFO] Waiting for SST streaming to complete! (20251014 07:25:57.352)
      2025-10-14  7:25:58 0 [Note] WSREP: (0595b7ab-bb33, 'tcp://127.0.0.1:12965') turning message relay requesting off
      /home/ramesh/10.6/mariadb-10.6.24-linux-x86_64//bin/mbstream: Can't create/write to file './ib_logfile0' (Errcode: 2 "No such file or directory")
      [00] 2025-10-14 07:26:07 /home/ramesh/10.6/mariadb-10.6.24-linux-x86_64//bin/mbstream: failed to create file.
      2025/10/14 07:26:07 socat[438166] E write(1, 0x561c7923c000, 2138): Broken pipe
      WSREP_SST: [ERROR] Error while getting data from donor node: exit codes: 1 0 (20251014 07:26:07.546)
      WSREP_SST: [ERROR] xtrabackup_checkpoints missing, failed mariadb-backup/SST on donor (20251014 07:26:07.658)
      WSREP_SST: [ERROR] Cleanup after exit with status: 2 (20251014 07:26:07.659)
      WSREP_SST: [ERROR] Removing sst_test/xtrabackup_galera_info file due to signal (20251014 07:26:07.662)
      WSREP_SST: [INFO] Removing the sst_in_progress file (20251014 07:26:07.665)
      WSREP_SST: [INFO] Cleaning up temporary directories (20251014 07:26:07.667)
      2025-10-14  7:26:07 0 [ERROR] WSREP: Process completed with error: wsrep_sst_mariabackup --role 'joiner' --address '127.0.0.1:12459' --datadir '/home/ramesh/10.6/mariadb-10.6.24-linux-x86_64/node3/' --defaults-file '/home/ramesh/10.6/mariadb-10.6.24-linux-x86_64/n3.cnf' --parent 437663 --progress 0 --binlog 'binlog' --mysqld-args --defaults-file=/home/ramesh/10.6/mariadb-10.6.24-linux-x86_64/n3.cnf: 2 (No such file or directory)
      2025-10-14  7:26:07 0 [ERROR] WSREP: Failed to read uuid:seqno and wsrep_gtid_domain_id from joiner script.
      2025-10-14  7:26:07 3 [Note] WSREP: SST received
      

      please improve error handling if it is an expected behaviour

      Attachments

        Issue Links

          Activity

            People

              janlindstrom Jan Lindström
              ramesh Ramesh Sivaraman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.