Changes between Version 1 and Version 2 of Ticket #1833


Ignore:
Timestamp:
2012-10-30T22:45:24Z (12 years ago)
Author:
zooko
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1833 – Description

    v1 v2  
    22
    33I propose that this be done instead by the storage server maintaining a persistent set of shares to be deleted. When lease-updating step (which, in #666, is synchronous and fast) has identified a share that has no more leases, the share's id gets added to the persistent set of shares to delete. A long-running, persistent, duty-cycle-limited processes deletes those shares from the backend and removes their ids from the set of shares-to-delete. This is cleaner and more efficient than using a crawler, which has to visit ''all'' shares and which never stops twitching, since this has to visit only shares that have been marked as to-delete, and it quiesces when there is nothing to delete.
     4
     5This is part of an "overarching ticket" to eliminate most uses of crawler — ticket #1834.