Registry Mirror
Skip to content

Conversation

@laoj2

@laoj2 Luiz Oliveira (laoj2) commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #1539

If an actor is CRASHED, it can't be resumed/paused/suspended anymore, it can only be deleted.

An actor deletion will clean up everything under the prefix of Actor.external_snapshot.snapshot_uri and Actor.in_progress_snapshot_name (the latter will be empty if the underlying worker was deleted).

Before, we risked leaking a snapshot after a worker deletion because we were clearing the in_progress_snapshot_name field. We don't need to clear it up because the CRASHED state is terminal.

  • Tests pass
  • Appropriate changes to documentation are included in the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Stop leaking in-progress external snapshots when worker deletion crashes an actor during its first suspend

2 participants