Bug 1293932

Summary: [Tiering]: When files are heated continuously, promotions are too aggressive that it promotes files way beyond high water mark
Product: [Community] GlusterFS Reporter: Dan Lambright <dlambrig>
Component: tieringAssignee: Dan Lambright <dlambrig>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, dlambrig, kramdoss, nchilaka
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1291969 Environment:
Last Closed: 2016-06-16 12:31:57 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: 1291969    
Bug Blocks:    

Comment 1 Vijay Bellur 2015-12-28 15:16:50 UTC
REVIEW: http://review.gluster.org/13103 (cluster/tier: check watermark during migration) posted (#1) for review on master by Dan Lambright (dlambrig)

Comment 2 Vijay Bellur 2015-12-30 16:34:00 UTC
REVIEW: http://review.gluster.org/13103 (cluster/tier: check watermark during migration) posted (#2) for review on master by Dan Lambright (dlambrig)

Comment 3 Vijay Bellur 2016-01-04 14:52:51 UTC
REVIEW: http://review.gluster.org/13103 (cluster/tier: check watermark during migration) posted (#3) for review on master by Dan Lambright (dlambrig)

Comment 4 Vijay Bellur 2016-01-05 12:25:35 UTC
COMMIT: http://review.gluster.org/13103 committed in master by Dan Lambright (dlambrig) 
------
commit 57ef73821c8062e1503926751fd72bdad7506c86
Author: Dan Lambright <dlambrig>
Date:   Mon Dec 28 10:13:30 2015 -0500

    cluster/tier: check watermark during migration
    
    Currently we check the watermarks only before a cycle
    begins. We should also check the hot tier's fullness
    against the watermarks during the migration so the watermark
    is not exceeded as files are promoted.
    
    Change-Id: I2ff87a1c308d64fbdca14bbdf55f3ec3007290ae
    BUG: 1293932
    Signed-off-by: Dan Lambright <dlambrig>
    Reviewed-on: http://review.gluster.org/13103
    Reviewed-by: Joseph Fernandes
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: N Balachandran <nbalacha>

Comment 5 Niels de Vos 2016-06-16 12:31:57 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