[infinispan-issues] [JBoss JIRA] Commented: (ISPN-819) Deadlock detection seem to not detect deadlock case between two nodes on the same cache.
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Wed Dec 15 10:25:18 EST 2010
[ https://issues.jboss.org/browse/ISPN-819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570410#comment-12570410 ]
Mircea Markus commented on ISPN-819:
------------------------------------
Right, it's not clear to me what the problem is this time. If you don't get TimeoutException (but DeadlockDetectedException) then it's not a problem - it's expected behavior. Disregarding the number of nodes.
> Deadlock detection seem to not detect deadlock case between two nodes on the same cache.
> ----------------------------------------------------------------------------------------
>
> Key: ISPN-819
> URL: https://issues.jboss.org/browse/ISPN-819
> Project: Infinispan
> Issue Type: Bug
> Components: Locking and Concurrency
> Affects Versions: 4.2.0.CR3
> Environment: Windows XP, 4.2.0-CR3
> Reporter: Thomas Jean
> Assignee: Mircea Markus
> Priority: Critical
> Fix For: 4.2.0.CR4, 4.2.0.Final
>
> Attachments: AgentManager_InfiniSpan_Config_Generic.xml, log4j_Generic.properties, nodeDeadLock-43429.log, nodeDeadLock-45547.log, testSetup.zip, ThreeNodesDeadlocks.java, TwoNodesDeadlocks.java
>
>
> Hello,
> after activating deadlock detection with 500 ms of spin duration, i launch a classic deadlock scenario.
> Node 1 acquire local lock.
> Node 1 try to acquire cluster wide lock.
> Node 2 acquire local lock.
> Node 2 try to acquire cluster wide lock.
> Then deadlock is not detected and the TimeoutException occurs:
> org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [20 seconds] on key [counter_key] for requestor [DldGlobalTrans
> action{coinToss=3136454835479173852, isMarkedForRollback=false, lockIntention=counter_key, affectedKeys=[counter_key], locksAtOrigin=[]} Glob
> alTransaction:<nodeDeadLock-11465>:5:local]! Lock held by [DldGlobalTransaction{coinToss=3164596253027655679, isMarkedForRollback=false, lock
> Intention=null, affectedKeys=[], locksAtOrigin=[]} GlobalTransaction:<nodeDeadLock-16603>:1:remote].
> I give my configuration file for ISPN and a Class TwoNodesDeadlocks.java to reproduce the problem.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list