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

[Backport 1.x] Fix NPE and add additional graceful error handling #2691

Merged

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Apr 17, 2023

Description

Backport of #2687 to 1.x

This PR adds graceful error handling in a cache miss scenario where the error is swallowed. Additional tests have been added to verify the new functionality.

Testing

See associated unit tests added

Check List

  • New functionality includes testing
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@cwperks cwperks added the backport 1.3 backport to 1.3 branch label Apr 17, 2023
Copy link
Contributor

@stephen-crawford stephen-crawford left a comment

Choose a reason for hiding this comment

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

Merging over the mend complaints as these are known.

@stephen-crawford stephen-crawford merged commit 2808660 into opensearch-project:1.x Apr 18, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 18, 2023
Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit 2808660)
@stephen-crawford stephen-crawford deleted the backport/backport-2687-to-1.x branch April 18, 2023 21:12
stephen-crawford pushed a commit that referenced this pull request Apr 20, 2023
Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit 2808660)

Co-authored-by: Craig Perkins <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.3 backport to 1.3 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants