Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: clarify conditions under which canister stable memory is cleared #3821

Closed
eliezhao opened this issue Nov 29, 2024 · 1 comment
Closed

Comments

@eliezhao
Copy link

Regarding the issue of when stable memory might lose canister data, I initially submitted a PR but noticed the CLA hasn’t been approved, so I decided to open an issue instead:

Here

When a canister is reinstalled or upgraded, the data stored in stable memory is not cleared or removed.

stable memory should persist as long as the canister’s cycles are not depleted or the canister is not reinstalled.

Suggested modification:

Unless a canister is reinstalled or its data is cleared due to cycle depletion, the data stored in stable memory is not cleared or removed.

@jessiemongeon1
Copy link
Collaborator

Thanks, here is the PR for this change: #3824

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants