Bug 1288060

Summary: glusterd: disable ping timer b/w glusterd and make epoll thread count default 1
Product: [Community] GlusterFS Reporter: Gaurav Kumar Garg <ggarg>
Component: glusterdAssignee: Gaurav Kumar Garg <ggarg>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.7.0CC: bsrirama, bugs, ggarg, nlevinki, rcyriac, sasundar, smohan, vagarwal, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: glusterd
Fixed In Version: glusterfs-3.7.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1288059 Environment:
Last Closed: 2016-02-14 14:43:42 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: 1262236, 1271750, 1288059    
Bug Blocks: 1251815, 1271749, 1272436    

Description Gaurav Kumar Garg 2015-12-03 12:16:38 UTC
+++ This bug was initially created as a clone of Bug #1288059 +++

+++ This bug was initially created as a clone of Bug #1271750 +++

+++ This bug was initially created as a clone of Bug #1262236 +++

Description of problem:

Currently glusterd is crashing when enable/disable heal and i/o is in progress on the fuse mount.
 

 


It seems to happen because of multi epoll thread between glusterd enable.

workaround is to make epoll thread to 1 and set ping-timeout to 0

--- Additional comment from Vijay Bellur on 2015-12-03 07:15:04 EST ---

REVIEW: http://review.gluster.org/12874 (glusterd: disable ping timer b/w glusterd and make epoll thread count to 1) posted (#1) for review on master by Gaurav Kumar Garg (ggarg)

Comment 1 Vijay Bellur 2015-12-03 12:18:18 UTC
REVIEW: http://review.gluster.org/12875 (glusterd: disable ping timer b/w glusterd and make epoll thread count to 1) posted (#1) for review on release-3.7 by Gaurav Kumar Garg (ggarg)

Comment 2 Vijay Bellur 2015-12-03 19:22:38 UTC
COMMIT: http://review.gluster.org/12875 committed in release-3.7 by Vijay Bellur (vbellur) 
------
commit 49a40cb3b9a776b6c69a57e557a6fb80f7ac3a40
Author: Gaurav Kumar Garg <garg.gaurav52>
Date:   Thu Dec 3 17:41:13 2015 +0530

    glusterd: disable ping timer b/w glusterd and make epoll thread count to 1
    
    This patch is backport of: http://review.gluster.org/#/c/12874/
    
    Currently glusterd is crashing when enable/disable heal and i/o is in
    progress on the fuse mount.
    
    This is because of by default multi thread epoll in glusterd is 2.
    Workaround is to make epoll thread to 1 and set ping-timeout to 0
    
      >> Change-Id: Ifbe9b43a361c5409b707539f0ee831c610a5c36b
      >> BUG: 1288059
      >> Signed-off-by: Gaurav Kumar Garg <ggarg>
    
    Change-Id: Ifbe9b43a361c5409b707539f0ee831c610a5c36b
    BUG: 1288060
    Signed-off-by: Gaurav Kumar Garg <ggarg>
    Reviewed-on: http://review.gluster.org/12875
    Tested-by: Gluster Build System <jenkins.com>
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 3 Gaurav Kumar Garg 2016-02-14 14:43:42 UTC
GlusterFS v3.7.8 contains a fix for this bug. closing this bug.

Comment 4 Kaushal 2016-04-19 07:50:07 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.7, please open a new bug report.

glusterfs-3.7.7 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] https://www.gluster.org/pipermail/gluster-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user