Bug 1289602

Summary: After detach-tier start writes still go to hot tier
Product: [Community] GlusterFS Reporter: Mohammed Rafi KC <rkavunga>
Component: tieringAssignee: Mohammed Rafi KC <rkavunga>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: mainlineCC: bugs, byarlaga, dlambrig, josferna, nchilaka, sankarshan
Target Milestone: ---Keywords: Regression, Reopened, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1287532 Environment:
Last Closed: 2016-06-16 13:49:19 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: 1287532    
Bug Blocks: 1260783    

Comment 1 Vijay Bellur 2015-12-08 14:29:27 UTC
REVIEW: http://review.gluster.org/12914 (tier/dht: files are still going to decommissioned subvol) posted (#1) for review on master by mohammed rafi  kc (rkavunga)

Comment 2 Vijay Bellur 2015-12-08 21:50:18 UTC
REVIEW: http://review.gluster.org/12914 (tier/dht: files are still going to decommissioned subvol) posted (#2) for review on master by Vijay Bellur (vbellur)

Comment 3 Vijay Bellur 2015-12-08 21:50:30 UTC
REVIEW: http://review.gluster.org/12914 (tier/dht: files are still going to decommissioned subvol) posted (#3) for review on master by Vijay Bellur (vbellur)

Comment 4 Vijay Bellur 2015-12-09 05:44:19 UTC
REVIEW: http://review.gluster.org/12914 (tier/dht: files are still going to decommissioned subvol) posted (#4) for review on master by mohammed rafi  kc (rkavunga)

Comment 5 Vijay Bellur 2015-12-09 05:44:24 UTC
REVIEW: http://review.gluster.org/12914 (tier/dht: files are still going to decommissioned subvol) posted (#5) for review on master by mohammed rafi  kc (rkavunga)

Comment 6 Vijay Bellur 2015-12-09 13:35:39 UTC
COMMIT: http://review.gluster.org/12914 committed in master by Dan Lambright (dlambrig) 
------
commit cb41de7c4a7d620dbab645f2b105286b68bde9a9
Author: Mohammed Rafi KC <rkavunga>
Date:   Tue Dec 8 19:55:22 2015 +0530

    tier/dht: files are still going to decommissioned subvol
    
    After detach tier start, creates are still going to hot
    tier. Because when creating data files we are not checking for
    decommissioned bricks.
    
    Change-Id: I8e28258d9b2367dcc8ad6e5e91d0e54d92fdf771
    BUG: 1289602
    Signed-off-by: Mohammed Rafi KC <rkavunga>
    Reviewed-on: http://review.gluster.org/12914
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Dan Lambright <dlambrig>
    Tested-by: Dan Lambright <dlambrig>

Comment 7 Vijay Bellur 2015-12-10 09:09:05 UTC
REVIEW: http://review.gluster.org/12937 (tier/dht: files are still going to decommissioned subvol) posted (#1) for review on release-3.7 by mohammed rafi  kc (rkavunga)

Comment 8 Vijay Bellur 2015-12-11 12:26:58 UTC
COMMIT: http://review.gluster.org/12937 committed in release-3.7 by Dan Lambright (dlambrig) 
------
commit 9f35fcf087d5c30d460999d667b1b82dfd08d762
Author: Mohammed Rafi KC <rkavunga>
Date:   Tue Dec 8 19:55:22 2015 +0530

    tier/dht: files are still going to decommissioned subvol
    
    After detach tier start, creates are still going to hot
    tier. Because when creating data files we are not checking for
    decommissioned bricks.
    Backpor of>
    >Change-Id: I8e28258d9b2367dcc8ad6e5e91d0e54d92fdf771
    >BUG: 1289602
    >Signed-off-by: Mohammed Rafi KC <rkavunga>
    >Reviewed-on: http://review.gluster.org/12914
    >Tested-by: Gluster Build System <jenkins.com>
    >Reviewed-by: Dan Lambright <dlambrig>
    >Tested-by: Dan Lambright <dlambrig>
    
    (cherry picked from commit cb41de7c4a7d620dbab645f2b105286b68bde9a9)
    
    Change-Id: I56e4551657a234ac51fa2513dc46a48c19c4fac7
    BUG: 1289602
    Signed-off-by: Mohammed Rafi KC <rkavunga>
    Reviewed-on: http://review.gluster.org/12937
    Tested-by: Gluster Build System <jenkins.com>
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Dan Lambright <dlambrig>

Comment 9 Kaushal 2016-04-19 07:50:21 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.7, please open a new bug report.

glusterfs-3.7.7 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] https://www.gluster.org/pipermail/gluster-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 10 Niels de Vos 2016-06-16 13:49:19 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