[infinispan-issues] [JBoss JIRA] Updated: (ISPN-1110) Locks not cleared when listener throws exception

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Sun May 15 11:32:00 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-1110:
-----------------------------------

    Workaround Description: The issue can easily be avoided if the exception happens *after* the operation, in other words, when isPre=false
                Workaround: [Workaround Exists]


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