From 6c451ec62dedc6fc4b739734eb5eb35d4ecfa6ce 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. BUG: 1284453 Change-Id: If598da1543bbff7fe9228ba57c7e813ed2a3a7f2 Reviewed-on: http://review.gluster.org/12226 Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Aravinda VK Signed-off-by: Kotresh HR Reviewed-on: http://review.gluster.org/12721 Reviewed-by: Saravanakumar Arumugam Reviewed-by: Milind Changire Reviewed-by: Venky Shankar --- 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 7b8dc9dc821..6ddbaf7f06e 100644 --- a/geo-replication/syncdaemon/master.py +++ b/geo-replication/syncdaemon/master.py @@ -903,7 +903,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