mysqldump SST is broken in current head

Bug #1293798 reported by Teemu Ollakka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.5
Fix Released
High
Yan Zhang
5.6
Fix Released
High
Yan Zhang
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
New
Undecided
Unassigned
5.6
Fix Released
Undecided
Unassigned

Bug Description

lp:codership-mysql/5.5 r3965
lp:codership-mysql/5.6 r4064

Recent merges from PXC has added WSREP_SST_OPT_CONF into wsrep_sst_common.sh which causes error with mysqldump SST because --defaults-file parameter is not passed to wsrep_sst_mysqldump.sh. Fix this and also make mysqldump SST to read authentication from config file. Related ticket https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1200727.

Another issue is that if JOINER does not have binlog enabled, SST fails with

  ERROR 1186 (HY000) at line 2: Binlog closed, cannot RESET MASTER

RESET MASTER is used to clear old binlog files and to reset GTID related variables on JOINER. Even if RESET MASTER does not make any sense if binlog is not on, DONOR does not know about JOINERs binlog settings and therefore it must be made to succeed on JOINER if wsrep is on to make error free SST possible.

Revision history for this message
Yan Zhang (yan.zhang) wrote :
Revision history for this message
Yan Zhang (yan.zhang) wrote :
Revision history for this message
Yan Zhang (yan.zhang) wrote :
Revision history for this message
Yan Zhang (yan.zhang) wrote :

second issue. better way to ignore error
fixed in http://bazaar.launchpad.net/~codership/codership-mysql/5.6/revision/4081

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-1652

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.