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

tempo-cli analyse blocks skips compacted blocks and updated block list #3183

Merged
merged 2 commits into from Nov 28, 2023

Conversation

stoewer
Copy link
Collaborator

@stoewer stoewer commented Nov 28, 2023

What this PR does:

Bug #3131 occurs doe to the sometimes long processing times of individual blocks. This causes the list of blocks to analyse to become outdated. As a consequence the analyse blocks sub command encounters more and more compacted blocks, which the program fails to open.

With this change the sub command refreshes the block list whenever a compacted block is encountered.

It also improves the clarity of the error message when the analyse block sub command is called on a compacted block.

Which issue(s) this PR fixes:
Fixes #3131

Checklist

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

@stoewer stoewer merged commit 7a6e77b into grafana:main Nov 28, 2023
14 checks passed
@stoewer stoewer deleted the fix-analyse-blocks-cmd branch December 8, 2023 07:59
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.

tempo-cli analyse blocks does not handle compacted blocks correctly
2 participants