rsync SST filter may include lost+found directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
Fix Released
|
Medium
|
Alex Yurchenko | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Normally this will result in SST failure due to insufficient privileges, and even if it does not, we simply don't want to rsync lost+found.
User reports:
We have a galera 3 node cluster test installation on
CentOS release 6.3
MySQL-server-
wsrep_sst_
As I tried to setup a crashed node with SST, I got an rsync error and the SST failed with errors:
130312 11:55:39 [Note] WSREP: Tables flushed.
rsync: opendir "/var/lib/
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
rsync returned code 23:
So I changed /usr/bin/
and added rsync --exclude=
After that, SST with rsync worked fine.
Changed in codership-mysql: | |
assignee: | nobody → Alex Yurchenko (ayurchen) |
importance: | Undecided → Medium |
milestone: | none → 5.5.30-23.7.4 |
status: | New → Confirmed |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.5.30-23.7.4 |
status: | New → Fix Released |
Changed in codership-mysql: | |
status: | Fix Committed → Fix Released |
committed fix in r3855