Skip to content

Deleting an actor leaks its in-progress snapshot when the template is gone #1608

Description

@laoj2

ActorStatus.in_progress_snapshot_name holds only the snapshot's name, so
the delete workflow has to rebuild the storage prefix from the actor
template's snapshots_config.storage_location. If the template has been
deleted or renamed, the prefix cannot be derived: the workflow logs a
warning, skips the release, and the objects stay in the bucket forever.

Repro: suspend an actor, kill ateapi mid-checkpoint so the in-progress
name stays set, delete the template, then delete the actor. The actor
finalizes and the objects under its prefix remain.

Activity

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

Metadata

Metadata

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions