Bug 1005183 - cluster wide lock not released when originating glusterd dies
Summary: cluster wide lock not released when originating glusterd dies
Keywords:
Status: CLOSED DUPLICATE of bug 969461
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Avra Sengupta
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-06 11:33 UTC by Avra Sengupta
Modified: 2014-07-11 18:22 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Avra Sengupta 2013-09-06 11:33:00 UTC
Description of problem:
Most gluster commands takes a cluster wide lock, before proceeding to staging process. And after the commit stage, the cluster is unlocked. But if in between the node, from which the command was executed goes down, the lock is not released, and the whole cluster stays in a lockdown stage.


Version-Release number of selected component (if applicable):


How reproducible:
Everytime


Steps to Reproduce:
1. Attach gdb to a glusterd process on one of the nodes, and put a breakpoint.
2. Run a gluster volume command from any other node.
3. While the process is waiting on the breakpoint, kill the node from which the command was given.

Actual results:
The whole cluster remains in a lockdown


Expected results:
The cluster should recover itself from the locked stage


Additional info:

Comment 1 Anand Avati 2013-09-06 11:46:03 UTC
REVIEW: http://review.gluster.org/5839 (glusterd: Release cluster locks on receiving rpc disconnect) posted (#1) for review on master by Avra Sengupta (asengupt)

Comment 2 Anand Avati 2013-09-11 07:44:29 UTC
REVIEW: http://review.gluster.org/5839 (glusterd: Release cluster locks on receiving rpc disconnect) posted (#2) for review on master by Avra Sengupta (asengupt)

Comment 3 Anand Avati 2013-09-11 07:50:33 UTC
REVIEW: http://review.gluster.org/5839 (glusterd: Release cluster locks on receiving rpc disconnect) posted (#3) for review on master by Avra Sengupta (asengupt)

Comment 4 Anand Avati 2013-09-13 14:44:43 UTC
REVIEW: http://review.gluster.org/5839 (glusterd: Release cluster locks on receiving rpc disconnect) posted (#4) for review on master by Avra Sengupta (asengupt)

Comment 5 Avra Sengupta 2013-12-06 06:19:43 UTC
This fix has already made it upstream as part of http://review.gluster.org/#/c/6003/

Comment 6 Niels de Vos 2014-07-11 18:22:38 UTC

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


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