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

Dedupe search records while replaying WAL #940

Merged
merged 9 commits into from
Sep 10, 2021

Conversation

annanay25
Copy link
Contributor

@annanay25 annanay25 commented Sep 8, 2021

What this PR does:
Dedupe WAL records when moving from StreamingSearchBlock -> BackendSearchBlock

  • Redefines the Combiner function to be variadic and adds a Search data combiner
  • Uses Deduping iterator to replay WAL records and combine using above combiner

Which issue(s) this PR fixes:
Part of the ingester production readiness checklist #932

Checklist

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

Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
@annanay25 annanay25 changed the title Dedupe search records in WAL while replaying Dedupe search records while replaying WAL Sep 8, 2021
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
Signed-off-by: Annanay <annanayagarwal@gmail.com>
@mdisibio mdisibio mentioned this pull request Sep 9, 2021
3 tasks
@annanay25 annanay25 mentioned this pull request Sep 10, 2021
12 tasks
Signed-off-by: Annanay <annanayagarwal@gmail.com>
@annanay25 annanay25 merged commit ce0b23a into grafana:main Sep 10, 2021
@annanay25 annanay25 deleted the search-combiner branch September 10, 2021 13:19
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

3 participants