Bug 1230857

Summary: Files migrated should stay on a tier for a full cycle
Product: [Community] GlusterFS Reporter: Joseph Elwin Fernandes <josferna>
Component: tieringAssignee: Joseph Elwin Fernandes <josferna>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: high    
Version: 3.7.1CC: amukherj, bugs, dlambrig, sankarshan
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1218717 Environment:
Last Closed: 2015-07-30 09:51:46 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: 1218717    
Bug Blocks: 1229268, 1260923    

Description Joseph Elwin Fernandes 2015-06-11 15:59:12 UTC
+++ This bug was initially created as a clone of Bug #1218717 +++

When a file is migrated, it should stay on the destination tier for a full "cycle", meaning it should not immediately be moved based on timing on the destination tier.

--- Additional comment from Dan Lambright on 2015-06-03 09:06:20 EDT ---

This problem occurs if two nodes start at different times. Each node should run promotion/demotion at the same time.

--- Additional comment from Anand Avati on 2015-06-06 01:17:44 EDT ---

REVIEW: http://review.gluster.org/11110 (tier/dht: Fixing non atomic promotion/demotion w.r.t to frequency period) posted (#1) for review on master by Joseph Fernandes (josferna)

--- Additional comment from Anand Avati on 2015-06-07 00:01:34 EDT ---

REVIEW: http://review.gluster.org/11110 (tier/dht: Fixing non atomic promotion/demotion w.r.t to frequency period) posted (#2) for review on master by Joseph Fernandes (josferna)

--- Additional comment from Anand Avati on 2015-06-08 05:54:46 EDT ---

REVIEW: http://review.gluster.org/11110 (tier/dht: Fixing non atomic promotion/demotion w.r.t to frequency period) posted (#3) for review on master by Joseph Fernandes (josferna)

--- Additional comment from Anand Avati on 2015-06-11 06:56:00 EDT ---

REVIEW: http://review.gluster.org/11110 (tier/dht: Fixing non atomic promotion/demotion w.r.t to frequency period) posted (#4) for review on master by Joseph Fernandes (josferna)

Comment 1 Anand Avati 2015-06-11 16:07:56 UTC
REVIEW: http://review.gluster.org/11191 (tier/dht: Fixing non atomic promotion/demotion w.r.t to frequency period) posted (#1) for review on release-3.7 by Joseph Fernandes (josferna)

Comment 2 Anand Avati 2015-06-22 07:08:50 UTC
REVIEW: http://review.gluster.org/11191 (tier/dht: Fixing non atomic promotion/demotion w.r.t to frequency period) posted (#3) for review on release-3.7 by Joseph Fernandes

Comment 3 Anand Avati 2015-06-22 08:03:39 UTC
REVIEW: http://review.gluster.org/11191 (tier/dht: Fixing non atomic promotion/demotion w.r.t to frequency period) posted (#4) for review on release-3.7 by Niels de Vos (ndevos)

Comment 4 Kaushal 2015-07-30 09:51:46 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.3, please open a new bug report.

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