#1893 new enhancement

don't do lease-renewal automatically — at Version 1

Reported by: zooko Owned by:
Priority: normal Milestone: undecided
Component: code-storage Version: 1.9.2
Keywords: leases garbage-collection accounting Cc: warner
Launchpad Bug:

Description (last modified by daira)

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.

Change History (1)

comment:1 Changed at 2013-05-24T22:19:51Z by daira

  • Description modified (diff)

Isn't the fact that you're modifying a file a pretty strong heuristic indication that you want to keep it?

Note: See TracTickets for help on using tickets.