agent-substrate / agent-substrate/substrate

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

未关闭
#1,554 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/api-machinery area/storage kind/bug
主要语言
Go
星标
1.8k
派生
316
平均合并
2 天 43 分钟
30 天内合并 PR
287

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。