Check for MAGIC_FILE towards the end of PXB SST

Bug #1289776 reported by Raghavendra D Prabhu on 2014-03-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.5
Medium
Alex Yurchenko
5.6
Medium
Alex Yurchenko
Percona XtraDB Cluster
Status tracked in 5.6
5.5
Undecided
Unassigned
5.6
Undecided
Unassigned

Bug Description

=== modified file 'scripts/wsrep_sst_xtrabackup-v2.sh'
--- scripts/wsrep_sst_xtrabackup-v2.sh 2014-03-07 17:10:17 +0000
+++ scripts/wsrep_sst_xtrabackup-v2.sh 2014-03-08 14:21:47 +0000
@@ -867,6 +867,10 @@
         wsrep_log_info "${IST_FILE} received from donor: Running IST"
     fi

+ if [[ ! -r ${MAGIC_FILE} ]];then
+ wsrep_log_error "SST magic file ${MAGIC_FILE} not found/readable"
+ exit 2
+ fi
     cat "${MAGIC_FILE}" # output UUID:seqno
     wsrep_log_info "Total time on joiner: $totime seconds"
 fi

This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers