[tahoe-lafs-trac-stream] [tahoe-lafs] #1893: don't do lease-renewal automatically
tahoe-lafs
trac at tahoe-lafs.org
Tue Dec 11 18:45:06 UTC 2012
#1893: don't do lease-renewal automatically
-------------------------------------------------+-------------------------
Reporter: zooko | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: code-storage | undecided
Keywords: leases garbage-collection | Version: 1.9.2
accounting design-review-needed | Launchpad Bug:
-------------------------------------------------+-------------------------
Currently lease-renewal happens when you explicitly tell your client to
create a file or to renew leases, and also on some other occasions. I
''think'' that the "other occasions" are only when you update a mutable
file, but I'm not sure. I don't think this is appropriate because in the
future you might want to update a file without thereby agreeing to pay for
the file's preservation.
To close this ticket:
1. Read the source code and write down on this ticket all the ways that
leases can get added or renewed.
2. Write a patch that removes the lease renewal from all cases except for
when the client is either creating a file or sending an "Add or Renew
Lease" request.
3. Of course, unit tests of step 2 are required!
Brian: please let us know your opinion of this.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1893>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list