jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart van der Schans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3353) A DeadLock can occur if an Exception is thrown while unlocking the Journal
Date Thu, 21 Jun 2012 08:55:43 GMT

    [ https://issues.apache.org/jira/browse/JCR-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398299#comment-13398299
] 

Bart van der Schans commented on JCR-3353:
------------------------------------------

Nice catch! We might want to port this to the 2.2 branch as well.

Bart
                
> A DeadLock can occur if an Exception is thrown while unlocking the Journal
> --------------------------------------------------------------------------
>
>                 Key: JCR-3353
>                 URL: https://issues.apache.org/jira/browse/JCR-3353
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.4.2
>            Reporter: Claus Köll
>            Assignee: Claus Köll
>            Priority: Minor
>             Fix For: 2.4.3
>
>
> While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal)
while calling 
> AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message