Bug 1220348

Summary: Client hung up on listing the files on a perticular directory
Product: [Community] GlusterFS Reporter: RajeshReddy <rmekala>
Component: disperseAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, mzywusko, pkarampu, rtalur
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1224160 1230350 (view as bug list) Environment:
Last Closed: 2016-06-16 13:00:02 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: 1230350    

Description RajeshReddy 2015-05-11 11:54:04 UTC
Description of problem:
=================================
Client hung up on listing the files on a perticular directory and not able to list the files in the directory 


Version-Release number of selected component (if applicable):
===============================================================
glusterfs-server-3.7.0beta1-0.69.git1a32479.el6.x86_64

How reproducible:


Steps to Reproduce:
======================
1.Create (4+2) disperse volume and enable bitrot on the volume and mount it on client (FUSE)
2.Using DD create 10k files on mount and while script is running bring down three bricks and after that file creation failed on client 
3.Try to list the files of the directory in the client (Evern after re-mount) client hung up

Actual results:
===================
User should be able to list the list of files and read it 

Expected results:


Additional info:

Comment 1 Anand Avati 2015-06-10 06:56:49 UTC
REVIEW: http://review.gluster.org/11152 (cluster/ec: Wind unlock fops at all cost) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 2 Anand Avati 2015-06-11 06:37:17 UTC
COMMIT: http://review.gluster.org/11152 committed in master by Vijay Bellur (vbellur) 
------
commit 5c00a6c8163cc255e777823b99d516dfb5ef114e
Author: Pranith Kumar K <pkarampu>
Date:   Wed Jun 10 10:30:03 2015 +0530

    cluster/ec: Wind unlock fops at all cost
    
    Problem:
    While files are being created if more than redundancy number of bricks
    go down, then unlock for these fops do not go to the bricks. This will
    lead to stale locks leading to hangs.
    
    Fix:
    Wind unlock fops at all costs.
    
    Change-Id: I50a87e8b4d6d2dde5bf7405b82e3aeecd95ad00e
    BUG: 1220348
    Signed-off-by: Pranith Kumar K <pkarampu>
    Reviewed-on: http://review.gluster.org/11152
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Xavier Hernandez <xhernandez>

Comment 3 Mike McCune 2016-03-28 23:18:47 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 4 Niels de Vos 2016-06-16 13:00:02 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.8.0, please open a new bug report.

glusterfs-3.8.0 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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user