Bug 1140626

Summary: Sometimes self heal on disperse volume crashes
Product: [Community] GlusterFS Reporter: Xavi Hernandez <jahernan>
Component: disperseAssignee: Xavi Hernandez <jahernan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bugs, gluster-bugs, sasundar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.6.0beta1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1122581 Environment:
Last Closed: 2014-11-11 08:38:27 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:    
Bug Blocks: 1117822    

Description Xavi Hernandez 2014-09-11 11:22:10 UTC
+++ This bug was initially created as a clone of Bug #1122581 +++

Description of problem:

In some circumstances, when healing a file, glusterfs crashes

Version-Release number of selected component (if applicable): 3.6


How reproducible:

It happens sometimes. Not sure how to force it.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2014-07-23 16:28:41 CEST ---

REVIEW: http://review.gluster.org/8368 (ec: Only heal data/metadata when inode has enough information) posted (#1) for review on master by Xavier Hernandez (xhernandez)

Comment 1 Anand Avati 2014-09-16 07:27:51 UTC
REVIEW: http://review.gluster.org/8747 (ec: Only heal data/metadata when inode has enough information) posted (#1) for review on release-3.6 by Xavier Hernandez (xhernandez)

Comment 2 Anand Avati 2014-09-16 17:14:08 UTC
COMMIT: http://review.gluster.org/8747 committed in release-3.6 by Vijay Bellur (vbellur) 
------
commit 7fe574039815ad1339851eb0dc9f2366b02ceddf
Author: Xavier Hernandez <xhernandez>
Date:   Tue Jul 15 13:42:28 2014 +0200

    ec: Only heal data/metadata when inode has enough information
    
    Sometimes loc_t structure in a heal request doesn't contain enough
    information to do an inodelk call (basically the gfid is missing).
    In these cases, self heal only recovers entry information.
    
    This is a backport of http://review.gluster.org/8368/
    
    Change-Id: I459990c7df728ff4baf164df046672ddcde3efa5
    BUG: 1140626
    Signed-off-by: Xavier Hernandez <xhernandez>
    Reviewed-on: http://review.gluster.org/8747
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Jeff Darcy <jdarcy>
    Reviewed-by: Dan Lambright <dlambrig>

Comment 3 Niels de Vos 2014-09-22 12:45:55 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 4 Niels de Vos 2014-11-11 08:38:27 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