Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Add note for stop canister
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandraZapuc committed Dec 6, 2023
1 parent 59f363e commit 03ee01a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2338,6 +2338,13 @@ It's important to note that a snapshot will increase the memory footprint of the

Only controllers can take a snapshot of a canister and restore it.

:::note

It's important to stop a canister before taking a snapshot to ensure that all outstanding callbacks are completed. Failing to do so may cause the canister to not make sense of the callbacks if its state is restored using the snapshot.
It is expected that the canister admin (or their tooling) does this separately.

:::

### IC method `load_snapshot` {#ic-take_snapshot}

This method loads a snapshot identified by `snapshot_id` onto the canister. This method fails if the snapshot was previously deleted.
Expand Down

0 comments on commit 03ee01a

Please sign in to comment.