agent-substrate / agent-substrate/substrate
Need a way to recover an actor from CRASHED state
Abierto
area/api
area/reliability
kind/design
- Lenguaje dominante
- Go
- Estrellas
- 1.8k
- Forks
- 316
- Merge medio
- 2 d 43 min
- PR fusionados (30 d)
- 287
Descripción
Today an Actor that gets into CRASHED state cannot be recovered. We should have a way to "rollback" to the latest saved snapshot and resume. There are different ways of encoding this into the API. A few options I can think of are a) an explicit `RollbackActor` (or `RevertActor`) method which flips the state back to `SUSPENDED` b) allow `ResumeActor` to just resume (this works today if we remove the precondition check for `CRASHED`) c) allow `SuspendActor` to switch from `CRASHED` to `SUSPENDED`. Others?
Related to #119
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.