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

Bug 1334839

Summary: [Tiering]: Files remain in hot tier even after detach tier completes
Product: [Community] GlusterFS Reporter: Joseph Elwin Fernandes <josferna>
Component: tieringAssignee: sankarshan <sankarshan>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, dlambrig, kramdoss, nbalacha, sankarshan
Target Milestone: ---Keywords: Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.9.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1334234 Environment:
Last Closed: 2017-03-27 18:22:53 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: 1334234, 1336148, 1336152    
Bug Blocks:    

Comment 1 Vijay Bellur 2016-05-10 15:52:02 UTC
REVIEW: http://review.gluster.org/14285 (tier/detach: Clear tier-fix-layout-complete xattr after data movement thread join) posted (#1) for review on master by Joseph Fernandes

Comment 2 Vijay Bellur 2016-05-11 01:04:24 UTC
REVIEW: http://review.gluster.org/14285 (tier/detach: Clear tier-fix-layout-complete xattr after migration threads join) posted (#2) for review on master by Joseph Fernandes

Comment 3 Vijay Bellur 2016-05-11 05:08:21 UTC
REVIEW: http://review.gluster.org/14285 (tier/detach: Clear tier-fix-layout-complete xattr after migration threads join) posted (#3) for review on master by Joseph Fernandes

Comment 4 Vijay Bellur 2016-05-11 05:50:39 UTC
REVIEW: http://review.gluster.org/14285 (tier/detach: Clear tier-fix-layout-complete xattr after migration threads join) posted (#4) for review on master by Joseph Fernandes

Comment 5 Vijay Bellur 2016-05-14 10:22:44 UTC
COMMIT: http://review.gluster.org/14285 committed in master by Dan Lambright (dlambrig) 
------
commit 3c8c09dd4dd190aefece9fd308fa82907fcb5b7e
Author: Joseph Fernandes <josferna>
Date:   Tue May 10 21:10:08 2016 +0530

    tier/detach: Clear tier-fix-layout-complete xattr after migration threads join
    
    Previously we had wrongly placed the clearing tier-fix-layout-complete
    xattr before the joining of migration threads. This would lead to
    situations where failure of clearing the xattr would cause the
    premature death of migration threads.
    
    Now we clear the xattr only after the data movement threads join,
    ensuring that all migration is done.
    
    Change-Id: I829b671efa165ae13dbff7b00707434970b37a09
    BUG: 1334839
    Signed-off-by: Joseph Fernandes <josferna>
    Reviewed-on: http://review.gluster.org/14285
    Smoke: Gluster Build System <jenkins.com>
    Tested-by: Joseph Fernandes
    CentOS-regression: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: N Balachandran <nbalacha>
    Reviewed-by: Dan Lambright <dlambrig>

Comment 8 Shyamsundar 2017-03-27 18:22:53 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.9.0, please open a new bug report.

glusterfs-3.9.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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/