Repository navigation
Conversation
The daily timer snapshotted every custom volume, including detached ones: a volume left behind by a deleted tenant (or an old volume name) has no instance to attach it to ever again, so each night's snapshot copied nothing forward and kept the leftover alive, one full copy per night on the dir driver. The production host had five such volumes (an old fleet-manager-data and four demo tenants), still receiving daily snapshots 2026-11-14 for tenants deleted days before. `custom_volumes` now lists only volumes with a `used_by`, so an attached but stopped instance is still snapshotted (its data matters) and a detached one is not.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The daily snapshot-all timer snapshots every custom volume, including detached ones.
A volume left behind by a deleted tenant (or an old volume name) has no instance to attach to again, so each night's snapshot copies nothing forward and keeps the leftover alive — one full copy per night on the
dirdriver.Found on the production host: five detached volumes (an old
fleet-manager-dataand four demo tenants), still receivingdaily-20261114snapshots days after the tenants were deleted. Together they had accumulated ~7 GB.custom_volumes()now lists only volumes with aused_by:bash -nclean. No test: the script has none, and the filter is a one-line JSON predicate. The paired change on the fleet-manager side (purge a demo's volume when its tenant is deleted, opsavor/fleet-manager#255) stops the volumes being created in the first place.