diff options
author | Kotresh HR <khiremat@redhat.com> | 2015-09-24 12:59:08 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-10-29 02:15:21 -0700 |
commit | b191047eb21be0dfc28c7d93db88db46ed1655bd (patch) | |
tree | c5a97f9e9992dfcb4768ecc0297caf03c5cea02b /geo-replication | |
parent | c1c5075df463fd298418bf31384b6d92f84d194b (diff) |
geo-rep: Handle FXATTROP and XATTROP
GEO-REP INTEROP WITH SHARD FEATURE
If it is FXATTROP or XATTROP in changelog,
add the gfid to rsync queue.
Change-Id: If68d38d7ed00b70a4618cfcc8e75df3fbadbf724
BUG: 1265148
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/12226
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'geo-replication')
-rw-r--r-- | geo-replication/syncdaemon/master.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py index b2cfb8531d1..5c17f96ae64 100644 --- a/geo-replication/syncdaemon/master.py +++ b/geo-replication/syncdaemon/master.py @@ -910,7 +910,8 @@ class GMasterChangelogMixin(GMasterCommon): st_mtime=ec[6]))) else: meta_gfid.add((os.path.join(pfx, ec[0]), )) - elif ec[1] == 'SETXATTR': + elif ec[1] == 'SETXATTR' or ec[1] == 'XATTROP' or \ + ec[1] == 'FXATTROP': # To sync xattr/acls use rsync/tar, --xattrs and --acls # switch to rsync and tar if not boolify(gconf.use_tarssh) and \ |