|
2018-11-14 11:31:30 35624391936 [Note] WSREP: Requesting state transfer: success, donor: 1
|
2018-11-14 11:31:30 35624391936 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> 3bddc1d5-d334-11e8-8557-b313dc94ce65:14255958
|
++ RC=(${PIPESTATUS[@]})
|
+ extcode=0
|
+ return 0
|
+ set -e
|
+ popd
|
+ [[ 0 -eq 124 ]]
|
+ for ecode in "${RC[@]}"
|
+ [[ 0 -ne 0 ]]
|
+ for ecode in "${RC[@]}"
|
+ [[ 0 -ne 0 ]]
|
+ [[ 1 -eq 1 ]]
|
+ [[ ! -r /tmp/tmp.wse8Kauv/xtrabackup_galera_info ]]
|
+ ps -p 43794
|
+ '[' '!' -r /tmp/tmp.wse8Kauv/xtrabackup_ist ']'
|
+ [[ -d /var/mysql-data//.sst ]]
|
+ wsrep_log_info 'WARNING: Stale temporary SST directory: /var/mysql-data//.sst from previous state transfer. Removing'
|
+ wsrep_log '[INFO] WARNING: Stale temporary SST directory: /var/mysql-data//.sst from previous state transfer. Removing'
|
++ date '+%Y%m%d %H:%M:%S.%N'
|
++ cut -b -21
|
+ local readonly 'tst=20181114 11:31:31.N'
|
+ wsrep_log_info 'WARNING: Stale temporary SST directory: /var/mysql-data//.sst from previous state transfer. Removing'
|
+ wsrep_log '[INFO] WARNING: Stale temporary SST directory: /var/mysql-data//.sst from previous state transfer. Removing'
|
++ date '+%Y%m%d %H:%M:%S.%N'
|
++ cut -b -21
|
+ local readonly 'tst=20181114 11:31:31.N'
|
+ echo 'WSREP_SST: [INFO] WARNING: Stale temporary SST directory: /var/mysql-data//.sst from previous state transfer. Removing (20181114 11:31:31.N)'
|
WSREP_SST: [INFO] WARNING: Stale temporary SST directory: /var/mysql-data//.sst from previous state transfer. Removing (20181114 11:31:31.N)
|
+ rm -rf /var/mysql-data//.sst
|
+ mkdir -p /var/mysql-data//.sst
|
+ jpid=44007
|
+ wsrep_log_info 'Proceeding with SST'
|
+ wsrep_log '[INFO] Proceeding with SST'
|
+ recv_joiner /var/mysql-data//.sst Joiner-Recv-SST 0 0
|
+ local dir=/var/mysql-data//.sst
|
+ local msg=Joiner-Recv-SST
|
+ local tmt=0
|
+ local checkf=0
|
+ local ltcmd
|
+ [[ ! -d /var/mysql-data//.sst ]]
|
+ pushd /var/mysql-data//.sst
|
+ set +e
|
+ [[ 0 -gt 0 ]]
|
+ timeit Joiner-Recv-SST 'socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} )'
|
+ local stage=Joiner-Recv-SST
|
+ shift
|
+ local 'cmd=socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} )'
|
+ local x1 x2 took extcode
|
+ [[ 0 -eq 1 ]]
|
+ wsrep_log_info 'Evaluating socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} )'
|
++ date '+%Y%m%d %H:%M:%S.%N'
|
+ wsrep_log '[INFO] Evaluating socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} )'
|
++ cut -b -21
|
++ date '+%Y%m%d %H:%M:%S.%N'
|
++ cut -b -21
|
+ local readonly 'tst=20181114 11:31:31.N'
|
+ echo 'WSREP_SST: [INFO] Proceeding with SST (20181114 11:31:31.N)'
|
WSREP_SST: [INFO] Proceeding with SST (20181114 11:31:31.N)
|
+ wsrep_log_info 'Cleaning the existing datadir and innodb-data/log directories'
|
+ wsrep_log '[INFO] Cleaning the existing datadir and innodb-data/log directories'
|
+ local readonly 'tst=20181114 11:31:31.N'
|
+ echo 'WSREP_SST: [INFO] Evaluating socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} ) (20181114 11:31:31.N)'
|
WSREP_SST: [INFO] Evaluating socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} ) (20181114 11:31:31.N)
|
+ eval 'socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} )'
|
++ socat -u TCP-LISTEN:4444,reuseaddr stdio
|
++ xbstream -x
|
++ date '+%Y%m%d %H:%M:%S.%N'
|
++ cut -b -21
|
+ local readonly 'tst=20181114 11:31:31.N'
|
+ echo 'WSREP_SST: [INFO] Cleaning the existing datadir and innodb-data/log directories (20181114 11:31:31.N)'
|
WSREP_SST: [INFO] Cleaning the existing datadir and innodb-data/log directories (20181114 11:31:31.N)
|
+ '[' FreeBSD = FreeBSD ']'
|
+ find -E /var/mysql-data /var/mysql-logs /var/mysql-data/ -mindepth 1 -prune -regex '.*\.pem$|.*init\.ok$|.*galera\.cache$|.*sst_in_progress$|.*\.sst$|.*gvwstate\.dat$|.*grastate\.dat$|.*\.err$|.*\.log$|.*RPM_UPGRADE_MARKER$|.*RPM_UPGRADE_HISTORY$' -o -exec rm -rfv '{}' +
|
encryption: using gcrypt 1.8.4
|
/var/mysql-data/mysql/event.MYI
|
/var/mysql-data/mysql/innodb_table_stats.frm
|
/var/mysql-data/mysql/help_relation.MYI
|
/var/mysql-data/mysql/gtid_slave_pos.frm
|
/var/mysql-data/mysql/help_relation.frm
|
/var/mysql-data/mysql/help_relation.MYD
|
/var/mysql-data/mysql/event.frm
|
/var/mysql-data/mysql/event.MYD
|
/var/mysql-logs/ib_logfile2
|
/var/mysql-logs/ib_logfile5
|
/var/mysql-logs/ib_logfile1
|
/var/mysql-logs/ib_logfile6
|
++ parse_cnf --mysqld log-bin ''
|
++ local group=--mysqld
|
++ local var=log-bin
|
++ local reval=
|
+++ /usr/local/bin/my_print_defaults --defaults-extra-file=/usr/local/etc/mysql/my.cnf --mysqld
|
+++ awk -v var=log-bin 'BEGIN { OFS=FS="=" } { gsub(/_/,"-",$1); if ( $1=="--"var) lastval=substr($0,length($1)+2) } END { print lastval}'
|
++ reval=
|
++ '[' -z '' ']'
|
++ '[' -n '' ']'
|
++ echo
|
+ tempdir=
|
+ [[ -n '' ]]
|
+ TDATA=/var/mysql-data/
|
+ DATA=/var/mysql-data//.sst
|
+ MAGIC_FILE=/var/mysql-data//.sst/xtrabackup_galera_info
|
+ wsrep_log_info 'Waiting for SST streaming to complete!'
|
+ wsrep_log '[INFO] Waiting for SST streaming to complete!'
|
++ date '+%Y%m%d %H:%M:%S.%N'
|
++ cut -b -21
|
+ local readonly 'tst=20181114 11:31:31.N'
|
+ echo 'WSREP_SST: [INFO] Waiting for SST streaming to complete! (20181114 11:31:31.N)'
|
WSREP_SST: [INFO] Waiting for SST streaming to complete! (20181114 11:31:31.N)
|
+ monitor_process 44007
|
+ local sst_stream_pid=44007
|
+ true
|
+ ps --pid 43794
|
+ wsrep_log_error 'Parent mysqld process (PID:43794) terminated unexpectedly.'
|
+ wsrep_log '[ERROR] Parent mysqld process (PID:43794) terminated unexpectedly.'
|
++ date '+%Y%m%d %H:%M:%S.%N'
|
++ cut -b -21
|
+ local readonly 'tst=20181114 11:31:31.N'
|
+ echo 'WSREP_SST: [ERROR] Parent mysqld process (PID:43794) terminated unexpectedly. (20181114 11:31:31.N)'
|
WSREP_SST: [ERROR] Parent mysqld process (PID:43794) terminated unexpectedly. (20181114 11:31:31.N)
|
+ kill -- -43794
|
/usr/local//bin/wsrep_sst_xtrabackup-v2: line 813: kill: (-43794) - No such process
|
+ cleanup_joiner
|
+ local estatus=1
|
+ [[ 1 -ne 0 ]]
|
+ wsrep_log_error 'Cleanup after exit with status:1'
|
+ wsrep_log '[ERROR] Cleanup after exit with status:1'
|
++ date '+%Y%m%d %H:%M:%S.%N'
|
++ cut -b -21
|
+ local readonly 'tst=20181114 11:31:31.N'
|
+ echo 'WSREP_SST: [ERROR] Cleanup after exit with status:1 (20181114 11:31:31.N)'
|
WSREP_SST: [ERROR] Cleanup after exit with status:1 (20181114 11:31:31.N)
|
+ [[ -n '' ]]
|
+ [[ -n /tmp/tmp.wse8Kauv ]]
|
+ [[ -d /tmp/tmp.wse8Kauv ]]
|
+ rm -rf /tmp/tmp.wse8Kauv
|
++ ps -o pgid= 43797
|
++ grep -o '[0-9]*'
|
+ pgid=43253
|
+ [[ 43797 -eq 43253 ]]
|
+ exit 1
|