﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
970	webapi PUT via multiple nodes can cause directory corruption but does not report UncoordinatedWriteError	stott	nobody	"Multiple simultaneous Tahoe put(s) via web API cause directory level corruption resulting in no recoverable data. 

To recreate 

Step 1.) Create Directory ; Get directory writecap.

Step 2.) Using 61 .JPG files avg 1.7MB  use test.sh script to put files to Tahoe-Lafs.

-------------------
bash-3.2$ du -sh .
102m
-------------------
bash-3.2$ ls *.JPG |wc -l
61
-------------------
{{{
bash-3.2$ cat test.sh
#!/bin/sh

# From Directory listing itself == Directory Write CAP
FW=""URI:DIR2:tuz27wvy27ua4mt5lyotllbyke:phzv6ilb5gssi3zy33nki62zcudqjzyv7v7w4qaavwn5kuh2hawa""



X=3456
for I in `ls *.JPG`
	do
curl -T $I  http://10.20.0.151:$X/uri/$FW/$I & 
#echo ""curl -T $I  http://10.20.0.151:$X/uri/$FW/$I & ""
         X=`expr $X + 1`
        if [ $X -le 3500 ] ; then 
           echo ""Submitting $I""
           else X=3456;
        fi  
        done
}}}
-------------------------------------------

Error returned from curl
{{{
UnrecoverableFileError: the directory (or mutable file) could not be retrieved, because there were insufficient good shares. This might indicate that no servers were connected, insufficient servers were connected, the URI was corrupt, or that shares have been lost due to server departure, hard drive failure, or disk corruption. You should perform a filecheck on this object to learn more.
}}}

------------------------

Error generated when trying to retrieve known good URI from child:

[attachment:970-paste.txt]

-------------------------
"	defect	new	minor	undecided	code-frontend-web	1.5.0		error usability ucwe docs		
