Skip to content

Propagate Ingesters search errors correctly#2023

Merged
joe-elliott merged 8 commits intografana:mainfrom
electron0zero:fix_2002
Feb 3, 2023
Merged

Propagate Ingesters search errors correctly#2023
joe-elliott merged 8 commits intografana:mainfrom
electron0zero:fix_2002

Conversation

@electron0zero
Copy link
Copy Markdown
Member

@electron0zero electron0zero commented Jan 27, 2023

What this PR does:
Collects and combines errors from Ingester search

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

Checklist

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

@electron0zero electron0zero changed the title Bubble up ingesters search errors Oropagate Ingesters search errors correctly Jan 30, 2023
@electron0zero electron0zero marked this pull request as ready for review January 30, 2023 21:46
@electron0zero electron0zero changed the title Oropagate Ingesters search errors correctly Propagate Ingesters search errors correctly Jan 30, 2023
Comment thread modules/ingester/instance_search.go
Comment thread modules/ingester/instance_search.go
@joe-elliott joe-elliott added backport release-v2.0 type/bug Something isn't working labels Feb 3, 2023
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 3, 2023

Hello @joe-elliott!
Backport pull requests need to be either:

  • Pull requests which address bugs,
  • Urgent fixes which need product approval, in order to get merged,
  • Docs changes.

Please, if the current pull request addresses a bug fix, label it with the type/bug label.
If it already has the product approval, please add the product-approved label. For docs changes, please add the type/docs label.
If none of the above applies, please consider removing the backport label and target the next major/minor release.
Thanks!

@joe-elliott joe-elliott merged commit 8d2853e into grafana:main Feb 3, 2023
github-actions Bot pushed a commit that referenced this pull request Feb 3, 2023
* Bubble up ingesters search errors

* Add errors support into Results

* exit early in case of error

* fix func doc

* Update CHANGELOG.md

* Move away from error channel to error atomic

* cleanup

* handle only errors case

(cherry picked from commit 8d2853e)
joe-elliott pushed a commit that referenced this pull request Feb 3, 2023
* Bubble up ingesters search errors

* Add errors support into Results

* exit early in case of error

* fix func doc

* Update CHANGELOG.md

* Move away from error channel to error atomic

* cleanup

* handle only errors case

(cherry picked from commit 8d2853e)

Co-authored-by: Suraj Nath <9503187+electron0zero@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release-v2.0 type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ingesters don't propagate search errors correctly

2 participants