Bug 1252907

Summary: Unable to demote files in tiered volumes when cold tier is EC.
Product: [Community] GlusterFS Reporter: Dan Lambright <dlambrig>
Component: tieringAssignee: Dan Lambright <dlambrig>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.3CC: bugs, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1251121 Environment:
Last Closed: 2015-09-09 09:39:36 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: 1251121    
Bug Blocks: 1260923    

Description Dan Lambright 2015-08-12 13:32:28 UTC
+++ This bug was initially created as a clone of Bug #1251121 +++

Unable to demote files in tiered volumes when cold tier is EC.

--- Additional comment from Anand Avati on 2015-08-06 10:06:47 EDT ---

REVIEW: http://review.gluster.org/11855 (cluster/tier: fix demotion when cold tier is EC) posted (#1) for review on master by Dan Lambright (dlambrig)

--- Additional comment from Anand Avati on 2015-08-11 15:35:48 EDT ---

REVIEW: http://review.gluster.org/11855 (cluster/tier: fix demotion when cold tier is EC) posted (#2) for review on master by Dan Lambright (dlambrig)

--- Additional comment from Anand Avati on 2015-08-12 07:49:11 EDT ---

COMMIT: http://review.gluster.org/11855 committed in master by Dan Lambright (dlambrig) 
------
commit e65160c5bec78e7385eedf3cf02d9cdcb756db0c
Author: Dan Lambright <dlambrig>
Date:   Thu Aug 6 09:59:35 2015 -0400

    cluster/tier: fix demotion when cold tier is EC
    
    We did not set the gfid in the loc structure in tier demotion. EC
    has a sanity check which fails FOPs when the loc gfid mismatches
    with the file attribute. When the FOP failed demotion was aborted.
    
    Change-Id: I69022c9ccb135b86e1feea93b01801b6a4100509
    BUG: 1251121
    Signed-off-by: Dan Lambright <dlambrig>
    Reviewed-on: http://review.gluster.org/11855
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: mohammed rafi  kc <rkavunga>
    Reviewed-by: Venky Shankar <vshankar>

Comment 1 Anand Avati 2015-08-12 13:44:37 UTC
REVIEW: http://review.gluster.org/11901 (cluster/tier: fix demotion when cold tier is EC) posted (#1) for review on release-3.7 by Dan Lambright (dlambrig)

Comment 2 Kaushal 2015-09-09 09:39:36 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.4, please open a new bug report.

glusterfs-3.7.4 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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/12496
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user