You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "james (JIRA)" <ji...@apache.org> on 2017/01/13 13:54:26 UTC
[jira] [Created] (AMQ-6563) MessageDatabase.load could leave
writeLock incorrectly locked
james created AMQ-6563:
--------------------------
Summary: MessageDatabase.load could leave writeLock incorrectly locked
Key: AMQ-6563
URL: https://issues.apache.org/jira/browse/AMQ-6563
Project: ActiveMQ
Issue Type: Bug
Components: KahaDB
Affects Versions: 5.14.3
Reporter: james
MessageDatabase.load in the kahadb store implementation makes a call to "IOHelper.mkdirs(directory);" after acquiring the writeLock, but _outside_ of the try/finally which releases the writeLock. if that method call fails, the writeLock would be left incorrectly locked.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)