[tahoe-dev] expiration of shares that never had a lease?

Greg Troxel gdt at ir.bbn.com
Thu Feb 24 13:37:37 UTC 2011


I'm not entirely clear on the 'tahoe debug catalog-shares' output, but
it seems that field 6 is the remaining lease duration.   On a pubgrid
server, I find that about half the shares have 0 in this field, and the
files are quite old.

So can shares be created without a lease?  (Perhaps, on a server that
didn't have expiration enabled?)

Should shares with no lease be removed?   Perhaps they should be treated
as having a 30-day lease from creation time?

CHK 236guakbhrjpkf5b2ckrgmycri 3/10 8982 lno7uocaomcmlrh3lp7wuapeoulryuhbllxrd7tjedglu6faptla 1719629 '${TAHOEDIR}/storage/shares/23/236guakbhrjpkf5b2ckrgmycri/7'
CHK 23lqcs3edtcrhdsr7dopqa6hgi 3/10 6095 jbgkyfyyrpcm2lgyl2ibiq57xh6jg6kbj5coplrmodlou7ew6odq 0 '${TAHOEDIR}/storage/shares/23/23lqcs3edtcrhdsr7dopqa6hgi/3'

Those shares have mod times of Feb 13 and Jul 29, respectively.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20110224/528a3469/attachment.asc>


More information about the tahoe-dev mailing list