[tahoe-dev] A simple 2 nodes replication
thierry dijoux
tjr.dijoux at gmail.com
Thu Feb 14 16:24:15 UTC 2013
I was wrong for the file name, but when a node is down and you upload a
file, the content of dir (this is an example)
in .tahoe/storage/shares/de/derbnumtsxwu7rhydpxtxizd5y/ is 0 and 1. when
all nodes are up, there is 0 in a node and 1 in the other.
I don't know if it will help or if tahoe-lafs is not designed to do
replication on only 2 nodes.
2013/2/14 thierry dijoux <tjr.dijoux at gmail.com>
> After some investigations rebalance seems to work.
>
> Here is the test :
>
> stop the 2nd node.
> Upload a file on node 1.
> Starting node 2 and do a "check --repair" => nothing.
> Now, in node1, rm .tahoe/storage/shares/de/derbnumtsxwu7rhydpxtxizd5y/1
> and do a check --repair, the file is created on node2.
> I supposed the files named 0 and 1 corresponding to the index of node (in
> my case 0 => node1 and 1=>node2)
>
> May i right or wrong ? I've only got 4 files, so it was "easy", but how to
> achieve this with tons of files ?
>
>
> 2013/2/14 Paul Rabahy <prabahy at gmail.com>
>
>> It looks like https://tahoe-lafs.org/trac/tahoe-lafs/ticket/699 is
>> related.
>>
>>
>> On Thu, Feb 14, 2013 at 10:01 AM, Greg Troxel <gdt at ir.bbn.com> wrote:
>>
>>>
>>> thierry dijoux <tjr.dijoux at gmail.com> writes:
>>>
>>> > Thanks Paul for the reply.
>>> > Just did the test, and a "tahoe check --repair" doesn't rebalance the
>>> file.
>>> > I also try a deep-check --repair, no more success.
>>>
>>> I suspect it would be good to have two notions of "healthy", one based
>>> on enough shares, and one based on meeting the distribution criteria. I
>>> see the "should be 1 and 1 but is 2 and 0" situation as scarier than
>>> "should be 10 on 10 servers, but is 9 on 9 servers".
>>>
>>> _______________________________________________
>>> tahoe-dev mailing list
>>> tahoe-dev at tahoe-lafs.org
>>> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
>>>
>>>
>>
>> _______________________________________________
>> tahoe-dev mailing list
>> tahoe-dev at tahoe-lafs.org
>> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20130214/b87973e1/attachment.html>
More information about the tahoe-dev
mailing list