Bug 1230783

Summary: [Backup]: Crash observed when glusterfind pre is run after deleting a directory containing files
Product: [Community] GlusterFS Reporter: Milind Changire <mchangir>
Component: glusterfindAssignee: Milind Changire <mchangir>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.7.1CC: asrivast, avishwan, khiremat, rtalur, sanandpa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1228017 Environment:
Last Closed: 2015-06-20 09:51:00 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: 1228017    
Bug Blocks: 1223636, 1228111    

Comment 1 Anand Avati 2015-06-12 10:59:50 UTC
REVIEW: http://review.gluster.org/11199 (tools/glusterfind: ignoring deleted files) posted (#1) for review on release-3.7 by Milind Changire (mchangir)

Comment 2 Anand Avati 2015-06-13 06:46:34 UTC
COMMIT: http://review.gluster.org/11199 committed in release-3.7 by Vijay Bellur (vbellur) 
------
commit 4b8e23e507204d6b40e40d7420759511a52af843
Author: Milind Changire <mchangir>
Date:   Fri Jun 12 12:48:27 2015 +0530

    tools/glusterfind: ignoring deleted files
    
    OSError and IOError exceptions were being thrown if files
    were deleted after session was created and a subsequent
    glusterfind pre was attmepted. glusterfind now detects
    this scenario and safely ignores these changes to the
    file-system. We also avoid recording deleted file paths
    into database in the case where gfid to path resolution
    cannot be performed for deleted files.
    
    Also, we now turn on volume option to capture delete paths.
    
    Change-Id: Iaf3883463f5e64643497bd77229ad80a9b2d5da5
    BUG: 1230783
    Reviewed-on: http://review.gluster.org/#/c/11194/
    Signed-off-by: Milind Changire <mchangir>
    Reviewed-on: http://review.gluster.org/11199
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Aravinda VK <avishwan>

Comment 3 Niels de Vos 2015-06-20 09:51:00 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.2, please reopen this bug report.

glusterfs-3.7.2 has been announced on the Gluster Packaging mailinglist [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://www.gluster.org/pipermail/packaging/2015-June/000006.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 4 Raghavendra Talur 2015-11-08 19:18:45 UTC
*** Bug 1225559 has been marked as a duplicate of this bug. ***