Closed melissah14 closed 3 years ago
@melissah14 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@melissah14 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@melissah14 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@melissah14 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Without this change, if a directory doesn't exist it is possible that there will be a race condition in which parallel processes attempt to create the same directory. This will cause an error. This change avoids this outcome by making the directory if it doesn't exist.