Comments - Problem with the Galera wsrep_sst_method xtrabackup-v2

8 years, 1 month ago Andy Ferretti

We put a trace on the execution of wsrep_sst_xtrabackup-v2. Here is the output:

+ . /opt/app/mysql/product/mariadb-10.1.11-linux-x86_64//bin/wsrep_sst_common
++ set -u
++ WSREP_SST_OPT_BYPASS=0
++ WSREP_SST_OPT_BINLOG=
++ WSREP_SST_OPT_CONF_SUFFIX=
++ WSREP_SST_OPT_DATA=
++ WSREP_SST_OPT_AUTH=sstuser:passwordhere
++ WSREP_SST_OPT_USER=
++ WSREP_SST_OPT_PSWD=
++ WSREP_SST_OPT_DEFAULT=
++ WSREP_SST_OPT_EXTRA_DEFAULT=
++ '[' 10 -gt 0 ']'
++ case "$1" in
++ readonly WSREP_SST_OPT_ROLE=joiner
++ WSREP_SST_OPT_ROLE=joiner
++ shift
++ shift
++ '[' 8 -gt 0 ']'
++ case "$1" in
++ readonly WSREP_SST_OPT_ADDR=130.9.221.48
++ WSREP_SST_OPT_ADDR=130.9.221.48
++ shift
++ shift
++ '[' 6 -gt 0 ']'
++ case "$1" in
++ readonly WSREP_SST_OPT_DATA=//opt/app/mysql/data/
++ WSREP_SST_OPT_DATA=//opt/app/mysql/data/
++ shift
++ shift
++ '[' 4 -gt 0 ']'
++ case "$1" in
++ readonly WSREP_SST_OPT_PARENT=28544
++ WSREP_SST_OPT_PARENT=28544
++ shift
++ shift
++ '[' 2 -gt 0 ']'
++ case "$1" in
++ WSREP_SST_OPT_BINLOG=//opt/app/mysql/binlogs/mysql-bin
++ shift
++ shift
++ '[' 0 -gt 0 ']'
++ readonly WSREP_SST_OPT_BYPASS
++ readonly WSREP_SST_OPT_BINLOG
++ readonly WSREP_SST_OPT_CONF_SUFFIX
++++ dirname /opt/app/mysql/product/mariadb-10.1.11-linux-x86_64//bin/wsrep_sst_xtrabackup-v2
+++ cd /opt/app/mysql/product/mariadb-10.1.11-linux-x86_64//bin
+++ pwd -P
++ SCRIPTS_DIR=/opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin
++ EXTRA_DIR=/opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/../extra
++ CLIENT_DIR=/opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/../client
++ '[' -x /opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/../client/mysql ']'
+++ which mysql
++ MYSQL_CLIENT=/opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/mysql
++ '[' -x /opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/../client/mysqldump ']'
+++ which mysqldump
++ MYSQLDUMP=/opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/mysqldump
++ '[' -x /opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/my_print_defaults ']'
++ MY_PRINT_DEFAULTS=/opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/my_print_defaults
++ readonly 'WSREP_SST_OPT_CONF= '
++ WSREP_SST_OPT_CONF=' '
++ MY_PRINT_DEFAULTS='/opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/my_print_defaults  '
++ /opt/app/mysql/product/mariadb-10.1.11-linux-x86_64/bin/my_print_defaults sst
++ grep -q wsrep_sst_auth
++ readonly WSREP_SST_OPT_AUTH
++ wsrep_auth_not_set
++ '[' -z sstuser:passwordhere -o sstuser:passwordhere = '(null)' ']'
++ AUTH_VEC=(${WSREP_SST_OPT_AUTH//:/ })
++ readonly AUTH_VEC
++ WSREP_SST_OPT_USER=sstuser
++ WSREP_SST_OPT_PSWD=passwordhere
++ readonly WSREP_SST_OPT_USER
++ readonly WSREP_SST_OPT_PSWD
++ '[' -n //opt/app/mysql/data/ ']'
++ SST_PROGRESS_FILE=//opt/app/mysql/data//sst_in_progress
+ . /opt/app/mysql/.profile
++ set +u
++ set -o nolog
+++ uname -s
+++ tr '[:lower:]' '[:upper:]'
++ OS_NAME=LINUX
++ export OS_NAME
+++ uname -r
++ OS_VERSION=2.6.32-504.8.1.el6.x86_64
++ export PATH=/bin:/usr/bin:/sbin
++ PATH=/bin:/usr/bin:/sbin
++ PATH=/bin:/usr/bin:/sbin:/etc:/usr/sbin
++ PATH=/bin:/usr/bin:/sbin:/etc:/usr/sbin:/usr/bin/X11
++ PATH=/bin:/usr/bin:/sbin:/etc:/usr/sbin:/usr/bin/X11:/usr/local/bin:/usr/localcw/bin
++ export OS_VERSION
++ umask 022
++ [[ xterm = '' ]]
++ [[ xterm = \s\u\n ]]
++ stty erase '^?'
stty: standard input: Inappropriate ioctl for device
 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.