Overview
| Artifact ID: | 2a257d79f769c65488a142358f21967e7f84f4ccb24f7ed60f4ccd8d01f336c0 |
|---|---|
| Ticket: | 270f78ca95b642fbed81ed03ad381d64a0d0f7df
file mkdir: race condition if two workers creates same directory and one worker deletes it immediately |
| User & Date: | anonymous on 2018-07-09 15:12:33 |
Changes
- closedate changed to: "2458309.13372222"
- closer changed to: "anonymous"
- icomment:
This can reproduced with mkdir alone. On nfs with 3 terminals, 1. bash : while [[ 1 ]]; do rm -rf bla; done 2. tclsh: while {1} {file mkdir bla} This will already cause bash to throw weird errors (but loop will continue) rm: cannot remove `bla': Is a directory even though we used -rf. Now add 3. tclsh: while {1} {file mkdir bla} Almost immediately one of the tcl shells will produce: can't create directory "bla": file already exists These things are tcl specific, and won't happen with builtin mkdir -p. - login: "anonymous"
- mimetype: "text/plain"