Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 924296

Summary: Glusterd hangs running volume.t (remove-brick)
Product: [Community] GlusterFS Reporter: Jeff Darcy <jdarcy>
Component: glusterdAssignee: Jeff Darcy <jdarcy>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: gluster-bugs, ndevos
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-11 15:48:38 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:

Description Jeff Darcy 2013-03-21 14:11:59 UTC
This is hanging pretty consistently on my machines, maybe 80-90% of the time, but not always.  Investigating a bit further, I found that it was always hung spinning in glusterd_get_brickinfo (from gluster_pmap_signout) because it had a brick that was a one-item circular list.  This seems to be because the per-volume brick list is modified without locking from multiple threads, and this test on my machine just happens to create the timing conditions for the race condition to manifest.

Patch forthcoming in a moment.

Comment 1 Jeff Darcy 2013-03-21 14:15:00 UTC
http://review.gluster.org/#change,4705

This is surely the first in a series, but it seems to solve the immediate problem.

Comment 2 Niels de Vos 2014-07-11 15:48:38 UTC

*** This bug has been marked as a duplicate of bug 948686 ***