[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1110) Locks not cleared when listener throws exception
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Wed May 18 05:48:01 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602883#comment-12602883 ]
Galder Zamarreño commented on ISPN-1110:
----------------------------------------
This is only limited to exceptions when the entry is first created. When the entry is modified it works fine.
The problem when entry is created and the exception is thrown on isPre=true is that the context is empty and so the release finds nothing to unlock. Checking what the options are to fix this.
> Locks not cleared when listener throws exception
> -------------------------------------------------
>
> Key: ISPN-1110
> URL: https://issues.jboss.org/browse/ISPN-1110
> Project: Infinispan
> Issue Type: Bug
> Components: Listeners, Locking and Concurrency
> Affects Versions: 4.2.1.FINAL, 5.0.0.CR2
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Blocker
> Fix For: 4.2.2.BETA1, 4.2.2.FINAL, 5.0.0.CR3, 5.0.0.FINAL
>
> Attachments: ListenerThrowsExceptionTest.java
>
>
> If a listener implementation throws an exception (at least when isPre()) when a new entry is created, acquired locks are unreleased.
> So, concurrent invocations on same key will fail with a timeout exception
--
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