Skip to content

Conversation

alexqyle
Copy link
Contributor

What this PR does:

If a tenant got empty bucket index (no blocks cannot be found), not only bucket index file and status file should be removed also debug directory and partitioned-groups directory (if partitioning enabled) should be removed as well.

Which issue(s) this PR fixes:

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

…ket store is empty for the tenant

Signed-off-by: Alex Le <[email protected]>
@yeya24 yeya24 merged commit fc6c40d into cortexproject:master Feb 25, 2025
17 checks passed
@alexqyle alexqyle deleted the cleaner-empty-tenant branch February 25, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants