Bug 1104944

Summary: [SNAPSHOT]: op-version is incremented to 4 when a snapshot is created
Product: [Community] GlusterFS Reporter: Avra Sengupta <asengupt>
Component: glusterdAssignee: Avra Sengupta <asengupt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: asengupt, bugs, gluster-bugs, nsathyan, rhinduja, shaines, ssamanta
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: 1104602 Environment:
Last Closed: 2014-11-11 08:34:18 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: 1104602    
Bug Blocks:    

Comment 1 Anand Avati 2014-06-05 06:47:30 UTC
REVIEW: http://review.gluster.org/7986 (glusterd/snapshot: Don't update the snap volume's op_version) posted (#1) for review on master by Avra Sengupta (asengupt)

Comment 2 Anand Avati 2014-06-10 06:26:46 UTC
REVIEW: http://review.gluster.org/7986 (glusterd/snapshot: Don't update the snap volume's op_version) posted (#2) for review on master by Avra Sengupta (asengupt)

Comment 3 Anand Avati 2014-06-11 06:27:14 UTC
COMMIT: http://review.gluster.org/7986 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit 7445593036e411ef96b741448fab89284f91e7f8
Author: Avra Sengupta <asengupt>
Date:   Thu Jun 5 04:44:25 2014 +0000

    glusterd/snapshot: Don't update the snap volume's op_version
    
    After the features.barrier key is removed from the snap_vol
    dict, it's op_version should also be updated, so that it
    doesn't inherit the op_version of the original volume when
    it had the key set.
    
    Also in glusterd_volinfo_dup(), which duplicates volinfo the volume
    op_version should not be updated, rather the original volume's
    op_version should be used.
    
    Change-Id: Ib2250700f649e6c906b14aeccee5e78f71d69780
    BUG: 1104944
    Signed-off-by: Avra Sengupta <asengupt>
    Reviewed-on: http://review.gluster.org/7986
    Reviewed-by: Rajesh Joseph <rjoseph>
    Reviewed-by: Atin Mukherjee <amukherj>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Krishnan Parthasarathi <kparthas>

Comment 4 Niels de Vos 2014-09-22 12:42:04 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 5 Niels de Vos 2014-11-11 08:34:18 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