Using xtrabackup sst fails due to mktemp error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
Fix Released
|
Critical
|
Alex Yurchenko | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Whenever a joining cluster node tries to join a cluster and its setup to do so via SST it will fail due to an issue when calling the mktemp helper program.
Older versions of mktemp allowed trailing characters after the string of XXXXXX for the template. Version 7.4 does not and exits with an error of "mktemp: too few X's in template `wsrep_
We're fixing the issue manually by changing line 118 in wsrep_sst_
Related branches
Changed in codership-mysql: | |
milestone: | none → 5.5.28-23.8 |
status: | New → Confirmed |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.5.29-23.8 |
Changed in percona-xtradb-cluster: | |
milestone: | 5.5.29-23.8 → 5.5.29-27.3.1 |
status: | Confirmed → Fix Committed |
milestone: | 5.5.29-27.3.1 → 5.5.29-23.7.1 |
Changed in percona-xtradb-cluster: | |
status: | Fix Committed → Fix Released |
Changed in codership-mysql: | |
status: | Fix Committed → Fix Released |
Changed in codership-mysql: | |
milestone: | 5.5.30-24.8 → 5.5.31-23.7.4 |
It has been fixed in later versions of mktemp as you mentioned:
--suffix=SUFF
append SUFF to TEMPLATE. SUFF must not contain slash. This option is implied if TEMPLATE does not end in X.
However, XTRABACKUP_PID, as the comment states, does nothing
there. It needs to be removed. Also, an alternative way of
check_pid needs to be used.