Awesome! Is the merge algorithm documented anywhere? Is it a patch-style algorithm, or more advanced?<br><br><div class="gmail_quote">On Wed, Aug 8, 2012 at 1:40 AM, Zooko Wilcox-O'Hearn <span dir="ltr"><<a href="mailto:zooko@zooko.com" target="_blank">zooko@zooko.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, Aug 8, 2012 at 2:31 AM, Zooko Wilcox-O'Hearn <<a href="mailto:zooko@zooko.com">zooko@zooko.com</a>> wrote:<br>
> On Mon, Aug 6, 2012 at 1:38 PM, Tony Arcieri <<a href="mailto:tony.arcieri@gmail.com">tony.arcieri@gmail.com</a>> wrote:<br>
><br>
</div><div class="im">>> From what I've read of how Tahoe handles conflicts, it employs a monotonic<br>
>> version number and timestamps. So it sounds like in the event of a conflict,<br>
>> Tahoe employs a last writer wins strategy?<br>
<br>
</div>Oh, except actually I momentarily forgot how this works. One of your<br>
guesses is actually wrong. What happens if you attempt to write to a<br>
mutable file or directory at the same time that someone else does is<br>
one or both of you gets an Uncoordinated Write Error:<br>
<br>
<a href="https://tahoe-lafs.org/trac/tahoe-lafs/browser/git/docs/write_coordination.rst?rev=08ea3dc512be2e331aa486f818ba9d5f2fe2c4cb" target="_blank">https://tahoe-lafs.org/trac/tahoe-lafs/browser/git/docs/write_coordination.rst?rev=08ea3dc512be2e331aa486f818ba9d5f2fe2c4cb</a><br>
<br>
It gets a little more complicated, because there is a feature (which I<br>
don't like and want to kill) that if the operation you are doing is<br>
modifying a mutable directory (such as by adding or removing links<br>
from that directory), and it gets an Uncoordinated Write Error, then<br>
it will, I think exactly one time, attempt to automatically merge your<br>
edit (e.g. addition of a child link) into the new version of the<br>
directory (i.e. the version that was written uncoordinatedly by<br>
someone or something else) and then reupload the resulting<br>
automatically merged directory.<br>
<div class="HOEnZb"><div class="h5"><br>
Regards,<br>
<br>
Zooko<br>
_______________________________________________<br>
tahoe-dev mailing list<br>
<a href="mailto:tahoe-dev@tahoe-lafs.org">tahoe-dev@tahoe-lafs.org</a><br>
<a href="https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Tony Arcieri<br><br>