Skip to content

Query compacted blocks that fall within 2 * BlocklistPoll#583

Merged
annanay25 merged 6 commits intografana:masterfrom
annanay25:query-compacted-blocks
Mar 12, 2021
Merged

Query compacted blocks that fall within 2 * BlocklistPoll#583
annanay25 merged 6 commits intografana:masterfrom
annanay25:query-compacted-blocks

Conversation

@annanay25
Copy link
Copy Markdown
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
Copy Markdown
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>
Comment thread tempodb/tempodb.go Outdated
Copy link
Copy Markdown
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.

Comment thread CHANGELOG.md
Comment thread docs/tempo/website/configuration/_index.md Outdated
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Comment thread tempodb/tempodb.go
Comment thread tempodb/tempodb.go Outdated
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