Bug 1175744

Summary: [USS]: Unable to access .snaps after snapshot restore after directories were deleted and recreated
Product: [Community] GlusterFS Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: snapshotAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.1CC: bugs, gluster-bugs, rabhat, rhinduja, senaik, smohan, storage-qa-internal, vmallika
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: USS
Fixed In Version: glusterfs-3.6.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1162498 Environment:
Last Closed: 2015-02-11 09:10:17 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: 1162498    
Bug Blocks: 1163723    

Comment 1 Niels de Vos 2014-12-23 12:48:45 UTC
Please include a public facing description of the problem. Other Gluster Community members can not read private comments.

Needed backport: http://review.gluster.org/9229

Comment 2 Anand Avati 2014-12-26 05:27:59 UTC
REVIEW: http://review.gluster.org/9342 (uss/gluster: Send success on parent lookup of entry-point) posted (#1) for review on release-3.6 by Sachin Pandit (spandit)

Comment 3 Anand Avati 2015-01-07 14:21:10 UTC
REVIEW: http://review.gluster.org/9342 (uss/gluster: Send success on parent lookup of entry-point.) posted (#2) for review on release-3.6 by Sachin Pandit (spandit)

Comment 4 Anand Avati 2015-01-08 09:17:18 UTC
COMMIT: http://review.gluster.org/9342 committed in release-3.6 by Raghavendra Bhat (raghavendra) 
------
commit 1fd314994f0ad581be6723e35eaaeb8126eed700
Author: vmallika <vmallika>
Date:   Wed Dec 3 15:10:44 2014 +0530

    uss/gluster: Send success on parent lookup of entry-point.
    
    When a lookup sent to snapview-server for entry-point directory
    protocol server first tries to resolve gfid of a parent directory.
    
    looking up the parent gfid from a latest snapshot can fail if the
    volume is a restored volume. As this gfid is already looked-up by
    snapview-client, we can return success for the parent gfid.
    
    Change-Id: Ic9b20561ef79b93032f07c3a81eae54a94e1747b
    BUG: 1175744
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/9229
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra Bhat <raghavendra>
    Reviewed-by: Rajesh Joseph <rjoseph>
    Reviewed-by: Vijay Bellur <vbellur>
    Signed-off-by: Sachin Pandit <spandit>
    Reviewed-on: http://review.gluster.org/9342

Comment 5 Raghavendra Bhat 2015-02-11 09:10:17 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.2, please reopen this bug report.

glusterfs-3.6.2 has been announced on the Gluster Developers mailinglist [1], packages for several distributions should already be or become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

The fix for this bug likely to be included in all future GlusterFS releases i.e. release > 3.6.2.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/5978
[2] http://news.gmane.org/gmane.comp.file-systems.gluster.user
[3] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137