-
Notifications
You must be signed in to change notification settings - Fork 715
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix 'mkdir(): File exists' error on create directory from parallel
processes
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6768340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this actually fix the race condition when two processes start creating the same directory structure in parallel (i.e. what this person reports: https://www.smarty.net/forums/viewtopic.php?t=26635&sid=8c1fd2650254f5a960be03effdf60dba)?
From what I see, this will still simply cause an error to be thrown. Is there any related issue / discussion for this?