[tahoe-lafs-trac-stream] [tahoe-lafs] #947: Add file-with-metadata caps

tahoe-lafs trac at tahoe-lafs.org
Mon Jan 17 14:46:52 UTC 2011


#947: Add file-with-metadata caps
-----------------------------+----------------------------------------------
     Reporter:  kpreid       |       Owner:  somebody                                           
         Type:  enhancement  |      Status:  new                                                
     Priority:  major        |   Milestone:  2.0.0                                              
    Component:  code         |     Version:  1.6.0                                              
   Resolution:               |    Keywords:  newcaps newurls mutable immutable metadata rollback
Launchpad Bug:               |  
-----------------------------+----------------------------------------------

Comment (by chrysn):

 as zooko correctly pointed out there, this is relevant for #1325 (make
 `tahoe backup` useable as a replacement for rsync).

 personally i'd go for storing the file metadata in the directory. this
 does require the relevant data (mime type) to be included in the url in
 order to be used in connection with the file, but think about it that way:
 that's even true for the file name.

 other reasons supporting metadata-in-directory are
 * faster access (fewer roundtrips, especially in the typical file-manager
 situation where a directory is listed and then all its files are stat-ed),
 * better compatibility (i guess there is a way to put additional metadata
 in the directory w/o breaking compatibility to older versions; doing this
 with intermediate nodes would be rather hard), and that
 * git does it that way too (ok, i admit, that's not really a reason).

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/947#comment:9>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list