Bug 1233041

Summary: glusterd crashed when testing heal full on replaced disks
Product: [Community] GlusterFS Reporter: Anand Nekkunti <anekkunt>
Component: glusterdAssignee: Anand Nekkunti <anekkunt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: amukherj, anekkunt, atalur, bugs, gluster-bugs, kparthas, nlevinki, nsathyan, sasundar, spandura, vagarwal, vbellur
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: GlusterD
Fixed In Version: glusterfs-3.7.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1231635 Environment:
Last Closed: 2015-07-30 09:49:41 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: 1231635    
Bug Blocks: 1232693    

Comment 1 Anand Nekkunti 2015-06-18 07:12:51 UTC
patch link :http://review.gluster.org/#/c/11306/

Comment 2 Anand Avati 2015-06-19 09:49:50 UTC
COMMIT: http://review.gluster.org/11306 committed in release-3.7 by Atin Mukherjee (amukherj) 
------
commit c5f0fddc27ecc79aad1ce104d5dd088051639539
Author: anand <anekkunt>
Date:   Wed Jun 17 16:11:48 2015 +0530

    glusterd: Removing sync lock and unlock inside rcu read critical section
    
    Issue : Glsuterd was crashing during peer probe.
    
    RCA :  In glusterd, we are using big lock which is implemented based on sync
    task frame work for thread synchronization, sync task frame work swap the threads
    if there is no worker pool threads available. Due to this rcu lock and rcu unlock
    was happening  in different threads (urcu-bp will not allow this), resulting into
    glusterd crash.
    
    fix : Removing sync lock and unlock inside rcu read critical section, which was left out by
    http://review.gluster.org/#/c/10285/ patch.
    
    Upstream link : http://review.gluster.org/#/c/11276/
    
    Change-Id: Id358dfcc797335bcd3b491c3129017b2caa826eb
    BUG: 1233041
    Signed-off-by: anand <anekkunt>
    Reviewed-on: http://review.gluster.org/11306
    Reviewed-by: Atin Mukherjee <amukherj>
    Tested-by: Gluster Build System <jenkins.com>

Comment 3 Kaushal 2015-07-30 09:49:41 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.3, please open a new bug report.

glusterfs-3.7.3 has been announced on the Gluster mailinglists [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/12078
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user