Bug 1098487

Summary: [SNAPSHOT] : restoring a snapshot is setting the "features.barrier" option to "enable"
Product: [Community] GlusterFS Reporter: Sachin Pandit <spandit>
Component: glusterdAssignee: Sachin Pandit <spandit>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, gluster-bugs, nsathyan, rhinduja, spandura
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: SNAPSHOT
Fixed In Version: glusterfs-3.6.0beta1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1098196 Environment:
Last Closed: 2014-11-11 08:32:42 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:

Comment 1 Anand Avati 2014-05-27 11:06:37 UTC
REVIEW: http://review.gluster.org/7892 (glusterd/snapshot : Remove the barrier key from snap volinfo before generating brick volfile.) posted (#1) for review on master by Sachin Pandit (spandit)

Comment 2 Anand Avati 2014-06-03 07:24:25 UTC
REVIEW: http://review.gluster.org/7892 (glusterd/snapshot : Remove the barrier key from snap volinfo before generating brick volfile.) posted (#2) for review on master by Sachin Pandit (spandit)

Comment 3 Anand Avati 2014-06-05 06:17:24 UTC
REVIEW: http://review.gluster.org/7892 (glusterd/snapshot : Remove the barrier key from snap volinfo before generating brick volfile.) posted (#3) for review on master by Krishnan Parthasarathi (kparthas)

Comment 4 Anand Avati 2014-06-05 06:17:37 UTC
COMMIT: http://review.gluster.org/7892 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit 9f90cbee7da450271873340c0b13059064c41af1
Author: Sachin Pandit <spandit>
Date:   Tue Jun 3 05:50:53 2014 +0530

    glusterd/snapshot : Remove the barrier key from snap volinfo
    before generating brick volfile.
    
    Problem : During snapshot creation if I/O is in progress,
    then barrier value is enabled. Hence during snapshot create
    and in-turn snapshot restore the barrier value is set to enable.
    Because of this further I/O on the mount point fails.
    
    Solution : Remove the barrier key from newly created snap volinfo
    before generating the brick volfiles.
    
    Change-Id: I180b3adfbb364159fd353b2d0fb630e004099aa5
    BUG: 1098487
    Signed-off-by: Sachin Pandit <spandit>
    Reviewed-on: http://review.gluster.org/7892
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Krishnan Parthasarathi <kparthas>

Comment 5 Niels de Vos 2014-09-22 12:40:31 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 6 Niels de Vos 2014-11-11 08:32:42 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.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [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://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users