Clebert Suconic created ARTEMIS-5199:
----------------------------------------
Summary: Create directory race on shared storage
Key: ARTEMIS-5199
URL: https://issues.apache.org/jira/browse/ARTEMIS-5199
Project: ActiveMQ Artemis
Issue Type: Bug
Affects Versions: 2.38.0
Reporter: Clebert Suconic
Assignee: Clebert Suconic
Fix For: 2.39.0
This is a fix on SharedStorageDistributionTest::testSimpleRedistribution
Two servers are sharing the same journal. While both servers are starting they
will check for:
if (!dir.exists()) {
if (!dir.mkdirs()) {
throw new IllegalStateException("cannot create directory);
}
}
this should validate if the dir didn't exist before throwing an exception to
avoid such race.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact