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

snazzer-prune confusingly retains more snapshots than expected when only a few snapshots exist #20

Open
csirac2 opened this issue Sep 9, 2015 · 0 comments

Comments

@csirac2
Copy link
Owner

csirac2 commented Sep 9, 2015

This bug item is pretty much to address https://github.com/csirac2/snazzer/blob/master/doc/snazzer-prune-candidates.md#bugs-and-limitations "When some datetimes are close together, they mightn't be pruned"

I've considered adding a new retention variable, SNAZZER_RECENTS_TO_KEEP - a linear number of snapshots to retain. But this would still be a "minimum" type policy, just like the other _TO_KEEP variables. Instead, the user-submitted bug report probably desires a SNAZZER_MAX_SNAPSHOTS_TO_KEEP. Which is probably worth implementing, but I should fix the existing confusing behaviour first, because I suspect the desire for this feature is partly driven by the existing surprising behaviour (failure to prune snapshots when there's not many snapshots in the beginning of a deployment).

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

No branches or pull requests

1 participant