Overview
| Artifact ID: | e6e8e96b552b935b651a1fae619fbc93ee34251f3da80f82b485fdc8f5344905 |
|---|---|
| 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 11:38:43 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
When running in parallel two terminals doing: 1. while {1} { file mkdir bla } 2. while {1} { file mkdir bla; file delete bla } mkdir eventually fails. On ext4 this is not as bad, but on ntfs mkdir consistently fails when two process make the same dir. This does not happen using exec mkdir -p bla Related SO question with some tests results of mine: https://stackoverflow.com/questions/48095178/atomicity-of-mkdir/51180411?noredirect=1#comment89394405_51180411 - foundin changed to: "8.6"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "c107fb282706d905622cb399ae4f7561e40d91cc"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "37. File System"
- title changed to: "mkdir failing when running on parallel"
- type changed to: "Bug"