Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1225839

Summary: [DHT:REBALANCE]: xattrs set on the file during rebalance migration will be lost after migration is over
Product: [Community] GlusterFS Reporter: Raghavendra G <rgowdapp>
Component: distributeAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.7.0CC: bugs, gluster-bugs, mzywusko, nbalacha, ndevos, nsathyan, sasundar, sharne, shmohan, ssaha, surs, vagarwal
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1193636 Environment:
Last Closed: 2015-06-20 09:48:52 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: 1193636    
Bug Blocks: 1140531    

Comment 1 Anand Avati 2015-05-28 10:22:49 UTC
REVIEW: http://review.gluster.org/10968 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#1) for review on release-3.7 by Raghavendra G (rgowdapp)

Comment 2 Anand Avati 2015-05-29 07:14:53 UTC
REVIEW: http://review.gluster.org/10968 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#2) for review on release-3.7 by Raghavendra G (rgowdapp)

Comment 3 Anand Avati 2015-05-29 11:09:28 UTC
REVIEW: http://review.gluster.org/10968 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#3) for review on release-3.7 by Raghavendra G (rgowdapp)

Comment 4 Anand Avati 2015-06-01 04:27:34 UTC
REVIEW: http://review.gluster.org/10968 (cluster/dht: Fix dht_setxattr to follow files under migration) posted (#4) for review on release-3.7 by Raghavendra G (rgowdapp)

Comment 5 Anand Avati 2015-06-04 12:04:10 UTC
COMMIT: http://review.gluster.org/10968 committed in release-3.7 by Raghavendra G (rgowdapp) 
------
commit 4124fc8cb1b5026d8b9bb31b5e24d97aa1d94f86
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, then 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: 1225839
    Signed-off-by: Nithya Balachandran <nbalacha>
    Reviewed-on: http://review.gluster.org/10968
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>
    Tested-by: Raghavendra G <rgowdapp>

Comment 6 Niels de Vos 2015-06-20 09:48:52 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.7.2, please reopen this bug report.

glusterfs-3.7.2 has been announced on the Gluster Packaging mailinglist [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://www.gluster.org/pipermail/packaging/2015-June/000006.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user