You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For concurrent requests to create the same directory using create_dir_all it is possible that the request fails with Error { repr: Os { code: 17, message: "File exists" } because a second thread already has created that directory. The problem is caused by create_dir_allfunction in DirBuilder.
I see three solution for this problem:
Document this behaviour
Make create_dir_all
Make create_dir_all ignoring this error?
Platform: Ubuntu 16.04 x86_64
The text was updated successfully, but these errors were encountered:
For concurrent requests to create the same directory using
create_dir_all
it is possible that the request fails withError { repr: Os { code: 17, message: "File exists" }
because a second thread already has created that directory. The problem is caused bycreate_dir_all
function inDirBuilder
.I see three solution for this problem:
create_dir_all
create_dir_all
ignoring this error?Platform: Ubuntu 16.04 x86_64
The text was updated successfully, but these errors were encountered: