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

Query compacted blocks that fall within 2 * BlocklistPoll #583

Merged
merged 6 commits into from
Mar 12, 2021

Conversation

annanay25
Copy link
Contributor

Signed-off-by: Annanay annanayagarwal@gmail.com

What this PR does:
Search blocks that have been compacted within 2 * BlocklistPoll.
This was added because we were inadvertently skipping some blocks from search due to the nature of query sharding and blocklist polling in our architecture.

For a complete explanation do check the comment in the issue linked below!

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

Checklist

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

Signed-off-by: Annanay <annanayagarwal@gmail.com>
@annanay25
Copy link
Contributor Author

Internally we discussed the possibility of deleting the compaction_block_retention setting and default the retention to 3 * BlocklistPoll but it didn't sound right to link the blocklist poll duration setting to something like retention which it is not intended to do. cc @joe-elliott

Would be happy to discuss and come up with an alternate setting / option that can replace both the polling and retention!

Signed-off-by: Annanay <annanayagarwal@gmail.com>
tempodb/tempodb.go Outdated Show resolved Hide resolved
Copy link
Contributor

@achatterjee-grafana achatterjee-grafana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doc content change request.

CHANGELOG.md Outdated Show resolved Hide resolved
docs/tempo/website/configuration/_index.md Outdated Show resolved Hide resolved
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
tempodb/tempodb.go Show resolved Hide resolved
tempodb/tempodb.go Outdated Show resolved Hide resolved
Signed-off-by: Annanay <annanayagarwal@gmail.com>
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 occasionally 404s on existing traces
3 participants