[MDEV-21709] ZFS snapdir=visible breaks Galera rsync SST replication Created: 2020-02-11  Updated: 2020-06-24  Resolved: 2020-06-24

Status: Closed
Project: MariaDB Server
Component/s: Galera SST
Affects Version/s: 10.2
Fix Version/s: 10.2.33, 10.3.24, 10.4.14, 10.5.5

Type: Bug Priority: Minor
Reporter: Vincent Milum Jr Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: galera, rsync, sst, zfs

Issue Links:
Relates
relates to MDEV-21719 Set rsync to use MariaDB error.log Open

 Description   

Using ZFS with the following example config:

zfs create tank/mysql
zfs set snapdir=visible tank/mysql
zfs set mountpoint=/mysql tank/mysql

my.cnf:

[mysqld]
datadir=/mysql
 
[galera]
wsrep_on=ON
wsrep_sst_method = rsync

rsync will attempt to sync the .zfs special folder, which breaks rsync (and thus sst replication)

incoming patch in just a few minutes.



 Comments   
Comment by Vincent Milum Jr [ 2020-05-23 ]

Is there any status on this issue? I've had an open PR for it for months now.

https://github.com/MariaDB/server/pull/1445

Comment by Jan Lindström (Inactive) [ 2020-05-24 ]

Is PR final, there was note that it did not fully solve the issue and have you tested table or database with .zfs name?

Comment by Vincent Milum Jr [ 2020-05-24 ]

Yes, the PR is final. I have not personally tested with a table or database named .zfs, but that would be disallowed by the filesystem most likely. There is no real workaround for this. My primary concern was fixing Galera replication to work again.

Generated at Thu Feb 08 09:09:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.