Skip to content

feat(snapshot-daemon): retain N latest full snapshots - #262

Open
hash-envy wants to merge 2 commits into
masterfrom
jm/deleting-snapshotter
Open

hash-envy wants to merge 2 commits into
masterfrom
jm/deleting-snapshotter

Conversation

@hash-envy

Copy link
Copy Markdown
Contributor

The snapshot-daemon doesn't currently have a purge stage. It retains all of the snapshots it takes, each of which is ~100GB. This change adds a small purge function that runs after each epoch. It makes sure that we only retain the 2 most recent snapshots and deletes the rest.

@hash-envy
hash-envy requested a review from ebatsell September 8, 2026 17:08
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

Successfully merging this pull request may close these issues.

2 participants