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

mariabackup SST does not work with character-set-filesystem=ucs2

    XMLWordPrintable

    Details

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

      Description

      Testcase

      BASEDIR=/test/GAL_MD130521-mariadb-10.6.1-linux-x86_64-opt
      rm -rf /dev/shm/TESTDIR/node*
      mkdir -p /dev/shm/TESTDIR/node1
      mkdir -p /dev/shm/TESTDIR/node2
      $BASEDIR/scripts/mariadb-install-db --no-defaults --force --auth-root-authentication-method=normal --basedir=$BASEDIR --user=ramesh --datadir=/dev/shm/TESTDIR/node1
      $BASEDIR/scripts/mariadb-install-db --no-defaults --force --auth-root-authentication-method=normal --basedir=$BASEDIR --user=ramesh --datadir=/dev/shm/TESTDIR/node2
       
      $BASEDIR/bin/mysqld --defaults-file=/dev/shm/TESTDIR/n1.cnf --basedir=$BASEDIR --wsrep-provider=$BASEDIR/lib/libgalera_smm.so  --character-set-filesystem=ucs2 --wsrep-new-cluster &
       
      $BASEDIR/bin/mysqld --defaults-file=/dev/shm/TESTDIR/n2.cnf --basedir=$BASEDIR --wsrep-provider=$BASEDIR/lib/libgalera_smm.so  --character-set-filesystem=ucs2  &
      
      

      mariabackup log

      $ cat node1/mariabackup.backup.log
      [00] 2021-06-24 16:04:44 Connecting to MySQL server host: localhost, user: root, password: not set, port: not set, socket: /dev/shm/TESTDIR/node1/node1_socket.sock
      [00] 2021-06-24 16:04:44 Using server version 10.6.1-MariaDB
      [00] 2021-06-24 16:04:44 Warning: MySQL variable 'datadir' points to nonexistent directory '⽤敶⽳桭⽔䕓呄䥒⽮潤攱?'
      [00] 2021-06-24 16:04:44 Warning: option 'datadir' has different values:
        '/dev/shm/TESTDIR/node1' in defaults file
        '⽤敶⽳桭⽔䕓呄䥒⽮潤攱?' in SHOW VARIABLES
      /test/GAL_MD130521-mariadb-10.6.1-linux-x86_64-opt//bin/mariabackup based on MariaDB server 10.6.1-MariaDB Linux (x86_64)
      [00] 2021-06-24 16:04:44 uses posix_fadvise().
      /test/GAL_MD130521-mariadb-10.6.1-linux-x86_64-opt//bin/mariabackup: Can't change dir to '⽤敶⽳桭⽔䕓呄䥒⽮潤攱?' (errno: 2 "No such file or directory")
      [00] 2021-06-24 16:04:44 my_setwd() failed , ⽤敶⽳桭⽔䕓呄䥒⽮潤攱?
      

        Attachments

        1. n1.cnf
          0.6 kB
        2. n2.cnf
          0.6 kB

          Activity

            People

            Assignee:
            jplindst Jan Lindström
            Reporter:
            ramesh Ramesh Sivaraman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration