james created AMQ-6563:

             Summary: MessageDatabase.load could leave writeLock incorrectly 
                 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

Reply via email to