[tahoe-dev] Bug in Tahoe-Lafs [readonly = true]

rvny at mail.ru rvny at mail.ru
Fri Apr 27 11:43:55 UTC 2012


Hello! Interesting bug:

Storage has configuration:

[storage]
# Shall this node provide storage service?
enabled = true
readonly = true
reserved_space = 1G
#expire.enabled =
#expire.mode =

FileZilla client:
I connect to this node, I can ceate Folder.)
Then I upload file pload is cicled and repeat and repeat again.

If I open localhost:3456 web interface and open create folder, it's create OK's. Then I probe upload file: Immutable   SDMF   MDMF (experimental) file is uploaded and in column Size is "?". Then I click to file - he download, Also I can download this file from FileZilla: show size 0, but file download with his real size.

May be you want question, what's is directory, where I upload file or create Directory: This is:

Object Type: directory
Storage Index: 6fud2zb6tdyr3lis2joz5mtske
Object Size: 22849
Access Caps (Tahoe-URIs):
Directory writecap 	URI:DIR2-MDMF:anm6ewukvhywkol5ksxe7hn53e:lhhxsief6ku6pqhnifv5qhkj4mmelr6r4qcphnkvc4ydfbeh2xba
Directory readcap 	URI:DIR2-MDMF-RO:wqbkar3lxmyeogziakaj7wysqu:lhhxsief6ku6pqhnifv5qhkj4mmelr6r4qcphnkvc4ydfbeh2xba
Directory verifycap 	URI:DIR2-MDMF-Verifier:6fud2zb6tdyr3lis2joz5mtske:lhhxsief6ku6pqhnifv5qhkj4mmelr6r4qcphnkvc4ydfbeh2xba
File writecap 	URI:MDMF:anm6ewukvhywkol5ksxe7hn53e:lhhxsief6ku6pqhnifv5qhkj4mmelr6r4qcphnkvc4ydfbeh2xba
File readcap 	URI:MDMF-RO:wqbkar3lxmyeogziakaj7wysqu:lhhxsief6ku6pqhnifv5qhkj4mmelr6r4qcphnkvc4ydfbeh2xba
File verifycap 	URI:MDMF-Verifier:6fud2zb6tdyr3lis2joz5mtske:lhhxsief6ku6pqhnifv5qhkj4mmelr6r4qcphnkvc4ydfbeh2xba

Why not work Read-only option?
This is requery, becouse I have 2 run's in one storage [node]: 1. Write/Read 2. Read only.

Renat Garaev

P.S.

Not added to TipsTrick. And I can't found This page from tahoe-lafs.org website: I opened this url with follow link only.
---
"Zooko Wilcox-O'Hearn" <zooko at zooko.com> 
Hello Renat. So this --
https://tahoe-lafs.org/pipermail/tahoe-dev/2012-April/007299.html --
*is* you. Would you like to edit the "Tips And Tricks" page on the
Tahoe-LAFS wiki to link to your article?

https://tahoe-lafs.org/trac/tahoe-lafs/wiki/TipsTricks

Regards,

Zooko


More information about the tahoe-dev mailing list