activemq/activemq-broker
Michał Janczykowski c5ecf53bdc [AMQ-9199] Fixed race condition in creating store directory
A store directory is created by MessageDatabase#getPageFile which
is called in two cases:
1. KahaDBStore.start() when creating a queue
2. KahaDBStore.size() which is performed when sending any persistent message

If both methods are called concurrently it's possible to get an IOException
thrown from the IOHelper.mkdirs method.

(cherry picked from commit 7de7ba2aa92dd1a98f48175fac5a538bd6e8579b)
2023-02-02 14:44:33 +01:00
..