Skip to content

Add search block headers for wal blocks#963

Merged
annanay25 merged 2 commits intografana:mainfrom
mdisibio:search-block-headers-wal
Sep 21, 2021
Merged

Add search block headers for wal blocks#963
annanay25 merged 2 commits intografana:mainfrom
mdisibio:search-block-headers-wal

Conversation

@mdisibio
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants