Bug 924296 - Glusterd hangs running volume.t (remove-brick)
Summary: Glusterd hangs running volume.t (remove-brick)
Keywords:
Status: CLOSED DUPLICATE of bug 948686
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jeff Darcy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-21 14:11 UTC by Jeff Darcy
Modified: 2014-07-11 15:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-07-11 15:48:38 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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 ***


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