agent-substrate / agent-substrate/substrate

Prevent deleting a tag if at least one actor references that tag's snapshot

Offen
#1,554 0 Kommentare 0 Reaktionen 0 zugewiesene Personen 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

Today, a tag or an actor may own an external snapshot.

* When a tag is created, it copies the external snapshot into it's own external storage path and
* When an actor is created from a tag, it will reference the tag's snapshot until its first Suspend call.
* An actor doesn't own its own snapshot until its first SuspendActor() call (Suspend will create/copy a snapshot)

Today, nothing prevents deleting a tag whose snapshot is referenced by running actors.

cc @juli4n

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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