mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-10 20:15:27 +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. (cherry picked from commit 604db9ee7e01a91ec41d95f67a37a2d21afaa74c)