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

Add search block headers for wal blocks #963

Merged
merged 2 commits into from
Sep 21, 2021

Conversation

mdisibio
Copy link
Contributor

@mdisibio mdisibio commented Sep 15, 2021

What this PR does:
Maintains a search blocker header for wal blocks like #943 did for completed blocks. This helps eliminate blocks from the search faster for non-existent or sparse values.

The wal requires a mutable header, so some refactoring was done to better fit the search pipeline and the various trace/page/block structs together, i.e. the pipeline can now match directly against a SearchBlockHeaderMutable.

Which issue(s) this PR fixes:
Fixes some of #932

Checklist

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

Signed-off-by: Martin Disibio <mdisibio@gmail.com>
Copy link
Contributor

@annanay25 annanay25 left a comment

Choose a reason for hiding this comment

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

Looking really good. Changelog entry and we should merge this.

Signed-off-by: Martin Disibio <mdisibio@gmail.com>
@annanay25 annanay25 merged commit af0f76f into grafana:main Sep 21, 2021
@mdisibio mdisibio deleted the search-block-headers-wal branch April 25, 2023 18:48
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.

None yet

2 participants