Bug 1230783 - [Backup]: Crash observed when glusterfind pre is run after deleting a directory containing files
Summary: [Backup]: Crash observed when glusterfind pre is run after deleting a directo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterfind
Version: 3.7.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Milind Changire
QA Contact: bugs@gluster.org
URL:
Whiteboard:
: 1225559 (view as bug list)
Depends On: 1228017
Blocks: 1223636 1228111
TreeView+ depends on / blocked
 
Reported: 2015-06-11 14:23 UTC by Milind Changire
Modified: 2015-11-08 19:32 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.7.2
Doc Type: Bug Fix
Doc Text:
Clone Of: 1228017
Environment:
Last Closed: 2015-06-20 09:51:00 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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. ***


Note You need to log in before you can comment on or make changes to this bug.