On Tue, Jul 14, 2009 at 05:01:00PM +0100, Rufus Pollock wrote: > 1. a node will keep (its chunks of) a file based on renewal requests. Yes, storage nodes keep their data until all leases expired (typically they expire after 30 days).
> 2. If these don't come in the file will be marked for garbage collection. The storage nodes regularly perform scans of all data and all data with no leases (leases are stored together with chunk data) will be removed. > 3. If a file is listed in a directory then this will lead > automatically to renewal of the relevant leases No, the files in the directory need to have their leases renewed as well. This can simply be done with a single deep-check with &add-lease=true call, which will reach all directories and files beneath it and renew their leases at the currently reachable servers. > 4. However if it is no longer linked from any directory explicit > renewal requests would have to be sent. Explicit renawal requests always need to be sent, if garbage collection is enabled on the storage servers. > 5. So by unlinking a file from all directories, in the absence, of any > explicit renewal requests, it will be deleted from the grid. Yes, but you can also just abandon the whole directory, which will yield the same results. Cheers, David
signature.asc
Description: Digital signature
_______________________________________________ tahoe-dev mailing list [email protected] http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
