Skip to content

Add a filter to not query destroyed buckets in GET /buckets #111

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chrroberts-pure
Copy link
Collaborator

closes #108

Currently GET /buckets gets a list of all buckets no matter if they're in the purgatory "destroyed, but not yet eradicated" state. The problem with this is, is that some further calls that we make that are based off of that list (eg. bucket performance) will not return a result if we ask for a destroyed bucket.

This is the simplest way to fix this, as one a bucket is deleted - it immediately SHOULD immediately disappear from any o11y platform as that would be the indicator that "something is wrong", and still give you the eradication time to undo the deletion, if desired.

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.

Scrape errors for the /objectstore metrics path (also affects /array for the older versions)
1 participant