<i>file mkdir: race condition if two workers creates same directory and one worker deletes it immediately</i> status still Closed with 5 other changes
by
.
D 2018-07-16T17:12:13.082
J closedate 2458316.21681808
J closer anonymous
J icomment Sorry\sguys,\sstupid\sGMAIL\ssent\smails\sfrom\sthis\sthread\sto\sspam:\r\n\r\nDefinitely\sfixed,\s3\sterminals\son\sNFS:\r\n\r\n\s1.\stclsh:\swhile\s{\s1\s}\s{\sfile\smkdir\sbla\s}\r\n\s2.\stclsh:\swhile\s{\s1\s}\s{\sfile\smkdir\sbla\s}\r\n\s3.\sbash\s:\swhile\s[\s1\s];\sdo\srm\s-rf\s\s\sbla\sdone\r\n\r\nrunning\s5\sminutes\sstraight\sand\sno\serrors\son\sthe\stcl\sshells.\sThe\sbash\sshell\sreports\serrors,\sbut\sthat's\sexpects\sas\sthere\sis\sa\srace\scondition\swith\srm\s(which\spropagates\sto\sfile\sdelete\sI\sguess).\r\n\r\nLooks\sreally\sfixed\son\smy\sside.
J login anonymous
J mimetype text/plain
K 270f78ca95b642fbed81ed03ad381d64a0d0f7df
U anonymous
Z 04fcb3d4581ddab3c62fde64f6309dfc