Skip to content
Tcl Source Code View Ticket
Login

View Ticket

race condition in file mkdir

Closed / Fixed1217375fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-06-09 04:35:53
There is a race condition in file mkdir with two process atempting
to create the same multi-level directory  path at the same time will 
cause one of the processes to get an EEXIST error.  This is caused 
by one process creating a directory between the time the other 
process checks if the directory exists and attempts to create it.

While this is uncommon on a single system, it's easy to reproduce
on a large cluster with a shared file system.
diekhansplain2005-06-09 11:35:54
File Added - 137726: tclFCmd.c-mkdir.patch
dkf Ticket [1217375fff]: 2 changes [History diff]2005-06-09 16:53:41
vincentdarleyplain2005-06-09 23:18:34
Logged In: YES 
user_id=32170

Thanks - will fix in cvs.
Log in (anonymous is fine) to add a comment.

Attachments: