From b191047eb21be0dfc28c7d93db88db46ed1655bd Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Thu, 24 Sep 2015 12:59:08 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/12226 Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Aravinda VK --- geo-replication/syncdaemon/master.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'geo-replication') 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 \ -- cgit