Comment 4 for bug 1632695

Revision history for this message
Kenn Takara (kenn-takara) wrote :

It was a patch to the wsrep_sst_xtrabackup-v2.sh script to exclude the init.ok file. It will be released with the next 5.6/5.7 release (I don't know the exact dates when it will be released though).

in the file in scripts/wsrep_sst_xtrabackup-v2.sh
(The change is to the line with cpat)

change the line from

cpat=$(parse_cnf sst cpat '.*galera\.cache$\|.*sst_in_progress$\|.*\.sst$\|.*donor-keyring$\|.*gvwstate\.dat$\|.*grastate\.dat$\|.*\.err$\|.*\.log$\|.*RPM_UPGRADE_MARKER$\|.*RPM_UPGRADE_HISTORY$')

to this

cpat=$(parse_cnf sst cpat '.*init\.ok$\|.*galera\.cache$\|.*sst_in_progress$\|.*\.sst$\|.*donor-keyring$\|.*gvwstate\.dat$\|.*grastate\.dat$\|.*\.err$\|.*\.log$\|.*RPM_UPGRADE_MARKER$\|.*RPM_UPGRADE_HISTORY$')

Prepend ".*init\.ok$\|" to the beginning of the string after "cpat". This causes the init.ok file to be ignored when copying the files over.