Bug 1254428

Summary: Data Tiering : Writes to a file being promoted/demoted are missing once the file migration is complete
Product: [Community] GlusterFS Reporter: Nithya Balachandran <nbalacha>
Component: tieringAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1265892 (view as bug list) Environment:
Last Closed: 2016-06-16 13:32:25 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:    
Bug Blocks: 1260923, 1265892    

Description Nithya Balachandran 2015-08-18 06:55:39 UTC
Description of problem:

Any data appended to a file while a file promotion/demotion is in progress will be lost once the migration is over

How reproducible:
Always

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a file on a tiered that is large enough to ensure that the file takes some time to be migrated.
2. While the file is being promoted/demoted, write some data to the file from a FUSE mount point.
3. Check that the data written in step 2 is present once the promotion/demotion is complete

Actual results:
The data written to the file is missing

Expected results:
The data written to the file should be present.

Additional info:

Comment 1 Vijay Bellur 2015-09-03 08:35:11 UTC
REVIEW: http://review.gluster.org/12090 (cluster/tier: Handle FOPs on files being migrated) posted (#2) for review on master by N Balachandran (nbalacha)

Comment 2 Vijay Bellur 2015-09-03 08:45:51 UTC
REVIEW: http://review.gluster.org/12090 (cluster/tier: Handle FOPs on files being migrated) posted (#3) for review on master by N Balachandran (nbalacha)

Comment 3 Vijay Bellur 2015-09-08 10:44:30 UTC
REVIEW: http://review.gluster.org/12090 (cluster/tier: Handle FOPs on files being migrated) posted (#4) for review on master by N Balachandran (nbalacha)

Comment 4 Niels de Vos 2016-06-16 13:32:25 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