agent-substrate / agent-substrate/substrate

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

Offen
#1,608 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @laoj2 Auf GitHub ansehen
area/api-machinery area/storage kind/bug
Vorherrschende Sprache
Go
Sterne
1.8k
Forks
316
Ø Merge
2 T. 43 Min.
Gemergte PRs (30 T.)
287

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.