mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-07 10:38:44 +00:00
The JDBCSequentialFile blocks on the writeLock when opening. There is no need to block here, in fact it may cause issues when opening and syncing concurrently. Instead an AtomicBoolean is enough to prevent the file from being reloaded.