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
Commit b9742e0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(rootfs): skip unsealed deferred diffs during cache eviction
The single disk-space eviction goroutine calls FileSize on the oldest
evictable cache entry; for a still-sealing deferred rootfs diff that blocks
on the background seal (WaitWithContext with the eviction loop's long-lived
ctx), stalling all reclamation during exactly the high-disk-pressure window
eviction exists to relieve.
Add a non-blocking deferredDiff.sealed() check (via the SetOnce Done channel)
and skip not-yet-sealed diffs in eviction, like pinned entries — so eviction
neither blocks on the seal nor evicts a fresh, in-flight snapshot; the diff
becomes evictable once its seal resolves.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
0 commit comments