Bug 762488 (GLUSTER-756) - simultaneous rm -rf hangs the clients
Summary: simultaneous rm -rf hangs the clients
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-756
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.0.3
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Vikas Gorur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-25 07:16 UTC by Raghavendra Bhat
Modified: 2010-03-30 17:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Raghavendra Bhat 2010-03-25 04:16:32 UTC
This is observed in glusterfs-3.0.4rc1.

Comment 1 Raghavendra Bhat 2010-03-25 07:16:01 UTC
When multiple clients are mounted and from all the mountpoints if simultaneous rm -rf is done on a directory then the clients hang. In my test I had mounted 3 clients. 2 servers. No performance translators both server and client sides. copied /usr into the mountpoint. then did rm -rf on all the 3 mountpoints simultaneously. Then 2 clients hung and one of the clients was removing the directory. Even after the removal of the directory the 2 clients remained hung only.

Comment 2 Anand Avati 2010-03-25 09:49:10 UTC
PATCH: http://patches.gluster.com/patch/3028 in master (cluster/afr: UNWIND if opendir returns an error.)

Comment 3 Anand Avati 2010-03-25 09:49:18 UTC
PATCH: http://patches.gluster.com/patch/3029 in release-3.0 (cluster/afr: UNWIND if opendir returns an error.)


Note You need to log in before you can comment on or make changes to this bug.