[MDEV-31332] Galera SST rsync wants to replicate snapshot directory Created: 2023-05-24 Updated: 2024-01-17 Resolved: 2023-09-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera SST, Replication, wsrep |
| Affects Version/s: | 10.5.19 |
| Fix Version/s: | 10.4.32, 10.5.23, 10.6.16, 10.10.7, 10.11.6, 11.0.4, 11.1.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Czadek | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | galera | ||
| Environment: |
Debian 11 |
||
| Issue Links: |
|
||||||||||||
| Description |
|
A new Galera Cluster was installed with some hosts and the MariaDB-Datadir is on an NetApp storage with NFS access. rsyncd[24966]: rsync: [receiver] open "/.snapshot/hourly.2023-05-23_1005/aria_log.00000001" (in rsync_sst) failed: Permission denied (13) |
| Comments |
| Comment by Daniel Black [ 2023-05-25 ] |
|
Quick solution is to append `.snapshot` to the ignored filelist in the wsrep_sst_rsync script here. |
| Comment by Daniel Black [ 2023-07-06 ] |
|
sysprg can a .* be filtered out like: -f '- /.*'? |
| Comment by Daniel Black [ 2023-07-17 ] |
|
Can we just ignore the server ignore_db_dirs maybe? |
| Comment by Daniel Black [ 2023-07-18 ] |
|
Hi, PR for review with test case: |
| Comment by Julius Goryavsky [ 2023-09-26 ] |
|
Fix merged as https://github.com/MariaDB/server/commit/9b5275b8f5343bf8f00c1a75fff3b2343afa89c2 |