You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A node holds a lease whose lane container is gone, and a warm lease whose daemon ended, for the whole grace #565
A node keeps a lease for its grace (an hour on a dedicated node, 15 minutes on another, lease_grace_minutes) when its requester stops renewing it. That is what lets a lane survive a restart of the requester's machine (#379). Two cases hold a lease, and with it the lane's slot and its CPU, memory and disk, longer than anything uses it:
The lane container is gone. Stopping it by hand on the node (docker stop devstack-lane-<lease>, exit 137) leaves the lease. The lane's next devstack up gets 409 ... runs here already (lease <id>) until the grace runs out; nothing on the client or in devstack node releases it.
A warm lease whose daemon ended (ADR-0065): the requester's daemon renews it while the prepare runs; a daemon that ends meanwhile leaves it for the grace. It blocks no lane (its name is its own), only capacity.
#563 fixes the client side: a start cut off by the daemon's end is released by the next daemon. These two are left.
Expected
A lease whose lane container is no longer there (exited, removed) ends on the node, as an expired one does, so the lane can start again at once.
Activity
fix(pool): a node ends the lease of a lane whose container is gone (#565
fix(pool): leases of cut-off starts stay noted until let go; a start …