Bug 1217433

Summary: glusterfsd crashed after directory was removed from the mount point, while self-heal and rebalance were running on the volume
Product: [Community] GlusterFS Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: coreAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5.4CC: bugs, gluster-bugs, smohan, ssampat, vmallika
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.5.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1215550 Environment:
Last Closed: 2015-07-19 19:33:04 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: 1215550    
Bug Blocks: 1208083    

Comment 1 Anand Avati 2015-04-30 11:01:29 UTC
REVIEW: http://review.gluster.org/10472 (quota: Validate NULL inode from the entries received in readdirp_cbk) posted (#1) for review on release-3.5 by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Anand Avati 2015-06-28 19:52:31 UTC
COMMIT: http://review.gluster.org/10472 committed in release-3.5 by Niels de Vos (ndevos) 
------
commit 5c8ee98a2dc6e7754ad37adcfd3a0e04014f266c
Author: vmallika <vmallika>
Date:   Thu Apr 30 16:28:27 2015 +0530

    quota: Validate NULL inode from the entries received in readdirp_cbk
    
    This is a backport of http://review.gluster.org/#/c/10416/
    
    > In quota readdirp_cbk, inode ctx filled for the all entries
    > received.
    > In marker readdirp_cbk, files/directories are inspected for
    > dirty
    
    > There is no guarantee that entry->inode is populated.
    > If entry->inode is NULL, this needs to be treated as readdir
    >
    > Change-Id: Id2d17bb89e4770845ce1f13d73abc2b3c5826c06
    > BUG: 1215550
    > Signed-off-by: vmallika <vmallika>
    > Reviewed-on: http://review.gluster.org/10416
    > Tested-by: NetBSD Build System
    > Tested-by: Gluster Build System <jenkins.com>
    > Reviewed-by: Raghavendra G <rgowdapp>
    > Tested-by: Raghavendra G <rgowdapp>
    
    Change-Id: If6578984ab1a33a3bdbaf0ec169f7c9548991144
    BUG: 1217433
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/10472
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Niels de Vos <ndevos>

Comment 3 Niels de Vos 2015-07-19 19:33:04 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.5.5, please reopen this bug report.

glusterfs-3.5.5 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://article.gmane.org/gmane.comp.file-systems.gluster.devel/11986
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user