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

mariabackup SST fails while adding --log-bin in startup command

    XMLWordPrintable

Details

    Description

      10.6.0 b19ec8848c9463b86d62601dffb67c75e3dfbd70 (Optimized)

      Error Info
      removed '/test/GAL_MD120221-mariadb-10.6.0-linux-x86_64-opt/node2/test/db.opt'
      removed directory '/test/GAL_MD120221-mariadb-10.6.0-linux-x86_64-opt/node2/test'
      dirname: unrecognized option '--log-bin'
      Try 'dirname --help' for more information.
      WSREP_SST: [ERROR] Cleanup after exit with status:1 (20210217 11:37:14.683)
      2021-02-17 11:37:16 0 [Note] WSREP: (b6a541ea-8ee8, 'tcp://127.0.0.1:4208') turning message relay requesting off
      

      Testcase

      BASEDIR=/test/GAL_MD120221-mariadb-10.6.0-linux-x86_64-dbg
       
      $BASEDIR/scripts/mysql_install_db --no-defaults --force --auth-root-authentication-method=normal --basedir=$BASEDIR --datadir=$BASEDIR/node1
      $BASEDIR/scripts/mysql_install_db --no-defaults --force --auth-root-authentication-method=normal --basedir=$BASEDIR --datadir=$BASEDIR/node2
       
      $BASEDIR/bin/mysqld --defaults-file=$PWD/n1.cnf --basedir=$BASEDIR --datadir=$BASEDIR/node1 --wsrep-provider=$BASEDIR/lib/libgalera_smm.so --log-bin --wsrep-new-cluster  &
      $BASEDIR/bin/mysqld --defaults-file=$PWD/n2.cnf --basedir=$BASEDIR --datadir=$BASEDIR/node2 --wsrep-provider=$BASEDIR/lib/libgalera_smm.so --log-bin &
       
      n1.cnf
       
      [mysqld]
      wsrep_cluster_address=gcomm://127.0.0.1:4108,127.0.0.1:4208
      wsrep_provider_options="gmcast.listen_addr=tcp://127.0.0.1:4108;"
      socket=node1_socket.sock
      port=4100
      log-error=node1.err
      wsrep_node_address=127.0.0.1
      wsrep_node_incoming_address=127.0.0.1
      server-id=101
      wsrep-debug=1
      innodb_file_per_table
      innodb_autoinc_lock_mode=2
      wsrep_sst_method=mariabackup
      wsrep_sst_auth=root:
      binlog_format=ROW
      core-file
      log-output=none
      wsrep_slave_threads=2
      wsrep_on=1
      n2.cnf
       
      [mysqld]
      wsrep_cluster_address=gcomm://127.0.0.1:4108,127.0.0.1:4208,
      wsrep_provider_options="gmcast.listen_addr=tcp://127.0.0.1:4208;"
      socket=node2_socket.sock
      port=4200
      log-error=node2.err
      wsrep_node_address=127.0.0.1
      wsrep_node_incoming_address=127.0.0.1
      server-id=102
      wsrep-debug=1
      innodb_file_per_table
      innodb_autoinc_lock_mode=2
      wsrep_sst_method=mariabackup
      wsrep_sst_auth=root:
      binlog_format=ROW
      core-file
      log-output=none
      wsrep_slave_threads=2
      wsrep_on=1
      

      Attachments

        Activity

          People

            sysprg Julius Goryavsky
            ramesh Ramesh Sivaraman
            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.