Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-06-09
23:18 • Closed ticket [1217375fff]: race condition in file mkdir plus 7 other change... artifact: fb575ca9a6 user: vincentdarley
16:53 • Ticket [1217375fff]: 2 changes artifact: 4fa56b7df4 user: dkf
11:35 • Ticket [1217375fff]: 4 changes artifact: e62e3c8f5a user: diekhans
11:35 • Add attachment tclFCmd.c-mkdir.patch to ticket [1217375fffffffff|121737... artifact: 057cc6ca26 user: diekhans
04:35 • New ticket [1217375fff] race condition in file mkdir. artifact: 14ead5dda0 user: diekhans

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: