mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-03 03:36:44 +00:00
update notes about lease deletion logic
This commit is contained in:
parent
e880660960
commit
bedf43a56c
@ -39,11 +39,14 @@ back pocket ideas:
|
|||||||
each entry has a sequence number, maybe a timestamp
|
each entry has a sequence number, maybe a timestamp
|
||||||
on recovery, find the newest
|
on recovery, find the newest
|
||||||
|
|
||||||
multiple categories of leases: delete the lowest ones first
|
multiple categories of leases:
|
||||||
|
committed leases -- we will not delete these in any case, but will instead tell an uploader that we are full
|
||||||
active leases
|
active leases
|
||||||
|
in-progress leases (partially filled, not closed, pb connection is currently open)
|
||||||
|
uncommitted leases -- we will delete these in order to make room for new lease requests
|
||||||
|
interrupted leases (partially filled, not closed, pb connection is currently not open, but they might come back)
|
||||||
expired leases
|
expired leases
|
||||||
interrupted leases (partially filled, not closed, they might come back)
|
(I'm not sure about the precedence of these last two. Probably deleting expired leases instead of deleting interrupted leases would be okay.)
|
||||||
|
|
||||||
|
|
||||||
big questions:
|
big questions:
|
||||||
convergence?
|
convergence?
|
||||||
|
Loading…
Reference in New Issue
Block a user