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 9aaa731
Browse filesBrowse the repository at this point in the historyBrowse files
ateapi,atelet: reclaim actor node state when a worker's pod is gone
A deleted worker pod is deregistered, and its bound actors are marked CRASHED, but their node state is never terminated, so actors/<uid> stays on the node until the actor is deleted or reverted, if it ever is.
The worker-delete workflow now sends atelet's Terminate before releasing each bound actor. It is best-effort, so an unreachable node cannot wedge deregistration. Each Terminate gets 30s, so a hung unmount cannot run out the delete's deadline. Once one times out or returns Unavailable, the worker's remaining actors skip that node and are left to their revert or delete.
Each release holds the actor's lease, so it never lands inside a suspend. An actor whose lease is taken is left for a retry: DeleteWorker returns ABORTED, which workersync requeues.
Terminate now skips workload teardown when the worker is gone (missing socket, no sandbox record, or UNAVAILABLE) while still reclaiming the actor's node state.
Fixes#1688
0 commit comments