Rename LocalSnapshotInfo to LocalSnapshot (#1856)

For consistency with ExternalSnapshot

#1378
This commit is contained in:
Luiz Oliveira
2026-09-25 14:20:42 +00:00
committed by GitHub
parent 22ba860e0f
commit d72edfbb3c
22 changed files with 141 additions and 144 deletions
+1 -1
View File
@@ -511,7 +511,7 @@ Discards an actor's live or crashed execution and transitions it to `ACTOR_STATE
* **Request:** `RevertActorRequest`
* `actor`: `ObjectRef` of the actor to revert. Accepted from `ACTOR_STATE_RUNNING`, `ACTOR_STATE_PAUSED`, and `ACTOR_STATE_CRASHED` (plus `ACTOR_STATE_REVERTING` for idempotent retries). Calling `RevertActor` on an already `ACTOR_STATE_SUSPENDED` actor returns `FAILED_PRECONDITION`.
* **Response:** `RevertActorResponse` containing the reverted `Actor` in `ACTOR_STATE_SUSPENDED`.
* Reverting terminates any bound worker sandbox, clears node-local pause checkpoints (`localSnapshotInfo`), and garbage-collects any partial external snapshot left by an interrupted suspend while preserving the last committed `externalSnapshot`.
* Reverting terminates any bound worker sandbox, clears node-local pause checkpoints (`localSnapshot`), and garbage-collects any partial external snapshot left by an interrupted suspend while preserving the last committed `externalSnapshot`.
* External volumes are not reverted. Their contents are never part of a snapshot, so a reverted actor comes back with its memory and root filesystem rewound but its volumes exactly as the discarded execution left them.
#### `DeleteActor`
+1 -1
View File
@@ -380,7 +380,7 @@ kubectl ate get workers -o json | jq -r --arg node "$NODE" '
kubectl ate get actors -A -o json | jq -r --arg node "$NODE" '
["PAUSED_ACTOR", "STATE"],
(.actors[]
| select(.status.localSnapshotInfo.nodeVmsWithLocalSnapshots // [] | index($node))
| select(.status.localSnapshot.nodeVmsWithLocalSnapshots // [] | index($node))
| [.metadata.atespace + "/" + .metadata.name, .status.state])
| @tsv' | column -t -s $'\t'
```