Ticket #2808 (closed merge: fixed)
createDirectoryIfMissing should be atomic
|Reported by:||EricKow||Owned by:||igloo|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
If I run createDirectoryIfMissing many times in parallel, it sometimes fails because (presumably) somewhere between the check if the directory exists, and between the actual creation, something else creates the directory.
Right now my workaround is to catch exceptions with isAlreadyExistsErrors