Bug 1193636

Summary: [DHT:REBALANCE]: xattrs set on the file during rebalance migration will be lost after migration is over
Product: [Community] GlusterFS Reporter: Nithya Balachandran <nbalacha>
Component: distributeAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: asriram, bugs, gluster-bugs, mzywusko, nbalacha, ndevos, nsathyan, sasundar, shmohan, ssaha, surs, vagarwal
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1140531
: 1225839 (view as bug list) Environment:
Last Closed: 2016-06-16 12:42:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1140531, 1225839    

Comment 1 Anand Avati 2015-02-17 19:01:55 UTC
REVIEW: http://review.gluster.org/9672 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#1) for review on master by N Balachandran (nbalacha)

Comment 2 Anand Avati 2015-03-16 17:30:55 UTC
REVIEW: http://review.gluster.org/9672 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#2) for review on master by N Balachandran (nbalacha)

Comment 3 Anand Avati 2015-03-16 17:31:04 UTC
REVIEW: http://review.gluster.org/9902 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#1) for review on master by N Balachandran (nbalacha)

Comment 4 Anand Avati 2015-04-13 09:13:35 UTC
REVIEW: http://review.gluster.org/10212 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#2) for review on master by N Balachandran (nbalacha)

Comment 5 Anand Avati 2015-04-23 16:57:45 UTC
REVIEW: http://review.gluster.org/10212 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#3) for review on master by N Balachandran (nbalacha)

Comment 6 Anand Avati 2015-04-27 18:02:44 UTC
REVIEW: http://review.gluster.org/10212 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#4) for review on master by N Balachandran (nbalacha)

Comment 7 Anand Avati 2015-04-29 17:04:59 UTC
REVIEW: http://review.gluster.org/10212 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#5) for review on master by N Balachandran (nbalacha)

Comment 8 Anand Avati 2015-05-13 09:23:09 UTC
REVIEW: http://review.gluster.org/10212 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#6) for review on master by N Balachandran (nbalacha)

Comment 9 Anand Avati 2015-05-25 18:32:47 UTC
REVIEW: http://review.gluster.org/10212 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#7) for review on master by Raghavendra G (rgowdapp)

Comment 10 Anand Avati 2015-05-28 04:35:32 UTC
REVIEW: http://review.gluster.org/10212 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#8) for review on master by Raghavendra G (rgowdapp)

Comment 11 Anand Avati 2015-05-28 10:29:13 UTC
COMMIT: http://review.gluster.org/10212 committed in master by Raghavendra G (rgowdapp) 
------
commit e878b0bcbaa19e46517e44284685ef99b885117b
Author: Nithya Balachandran <nbalacha>
Date:   Mon Apr 13 14:24:44 2015 +0530

    cluster/dht: Fix dht_setxattr to follow files under migration
    
    If a file is under migration, any xattrs created on it
    are lost post migration of the file. This is because
    the xattrs are set only on the cached subvol of the source
    and as the source is under migration, it becomes a linkto file
    post migration.
    
    Change-Id: Ib8e233b519cf954e7723c6e26b38fa8f9b8c85c0
    BUG: 1193636
    Signed-off-by: Nithya Balachandran <nbalacha>
    Reviewed-on: http://review.gluster.org/10212
    Tested-by: NetBSD Build System
    Reviewed-by: Raghavendra G <rgowdapp>
    Tested-by: Raghavendra G <rgowdapp>

Comment 12 Nagaprasad Sathyanarayana 2015-10-25 15:17:40 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 13 Niels de Vos 2016-06-16 12:42:14 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user