Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-21709

ZFS snapdir=visible breaks Galera rsync SST replication

Details

    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.

      Attachments

        Issue Links

          Activity

            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

            darkain Vincent Milum Jr added a comment - 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

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

            jplindst Jan Lindström (Inactive) added a comment - Is PR final, there was note that it did not fully solve the issue and have you tested table or database with .zfs name?

            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.

            darkain Vincent Milum Jr added a comment - 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.

            People

              jplindst Jan Lindström (Inactive)
              darkain Vincent Milum Jr
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.