Overview
| Artifact ID: | 3bc605cd57eb820df520e758e338d7ea477b6cb6bd010fb7c4b5d62853030126 |
|---|---|
| Ticket: | 270f78ca95b642fbed81ed03ad381d64a0d0f7df
file mkdir: race condition if two workers creates same directory and one worker deletes it immediately |
| User & Date: | sebres on 2018-07-09 17:38:03 |
Changes
- closedate changed to: "2458309.23476738"
- closer changed to: "sebres"
- icomment:
Fixed in [1c12ee9e45222d6c], thus close. Although the case is very strange (the delete implicitly after create is IMHO not good way in any case, because can cause a lot of other race conditions), but I could imagine situations where it may be expected resp. could occur once (e. g. the three-point delete/create/create). So this one is fixed now (under assumption the time of creation inside one worker is important and if another worker deletes the folder, each worker has exactly one attempt to repeat the creation. Hereafter it gets off with the success, if it's a tail (despite the directory may not exist), or fails deeper on create of child folders if it was not a tail directory. Other imaginable race conditions on mkdir are unwanted resp. impossible to fix and should be resolved another way's (like RFE [4f322b9d21]).
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"