There appear to be two issues here:<br>1. Mutability/immutability<br>2. Changed (newer) files.<br>These are separate issues.<br><br>Tahoe should check modification times of the grid file and the file to be uploaded and upload the newer file, replacing the older file.<br>
<br>Tahoe could compute a checksum/hash for a file and when the checksum differs from the one on the grid, upload the file as the latest version?<br><br>There is, however, an assumption here that the file with the differing checksum/hash is in fact, newer.<br>
<br>The checksum/hash is to detect game-playing with the file times.<br><br>The checksum/hash can be optional: let the user take responsibility for these types of actions.<br><br><div class="gmail_quote">On Mon, Jan 3, 2011 at 6:07 PM, David-Sarah Hopwood <span dir="ltr"><<a href="mailto:david-sarah@jacaranda.org">david-sarah@jacaranda.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">On 2011-01-03 14:04, Shawn Willden wrote:<br>
> On Mon, Jan 3, 2011 at 4:47 AM, sreenivasulu velpula <<a href="mailto:v.sreenu@gmail.com">v.sreenu@gmail.com</a>>wrote:<br>
>><br>
>> Can any one tell why is there a big difference compared to the initial<br>
>> upload time and remaining upload times?<br>
><br>
> You didn't say whether you uploaded the file as mutable. If not, then the<br>
> reason is very simple: Tahoe didn't actually have to upload the file the<br>
> other 11 times. It noticed the file was already stored in the grid and so<br>
> didn't upload it again.<br>
><br>
> If you used the "tahoe backup" command to upload it, then it was uploaded as<br>
> an immutable file.<br>
<br>
Yes, the same is true of other tahoe commands that upload files, except for<br>
'tahoe put' with the --mutable option. Similarly, the SFTP frontend always<br>
writes immutable files, and the WUI uploads files as immutable unless the<br>
"Mutable?" checkbox is ticked. By default, only directories are stored in<br>
mutable files.<br>
<font color="#888888"><br>
--<br>
David-Sarah Hopwood ⚥ <a href="http://davidsarah.livejournal.com" target="_blank">http://davidsarah.livejournal.com</a><br>
<br>
</font><br>_______________________________________________<br>
tahoe-dev mailing list<br>
<a href="mailto:tahoe-dev@tahoe-lafs.org">tahoe-dev@tahoe-lafs.org</a><br>
<a href="http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">+-------------------------------------------------------------------------------------------------+<br>
| 3.14159 26535 89793 23846 26433 83279 50288 May the Spirit |<br>
| 41971 69399 37510 58209 74944 59230 78164 of pi spread |<br>
| 06286 20899 86280 34825 32411 70679 82148 around the world. |<br>
| 08651 32823 06647 09384 46095 50582 ... PI VOBISCUM! |<br>
+-------------------------------------------------------------------------------------------------+</font><br>