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

properly handle biri.Error #163

Merged
merged 4 commits into from
Nov 16, 2024

Conversation

arnitolog
Copy link
Contributor

fixes #162

Copy link
Collaborator

@gregfurman gregfurman left a comment

Choose a reason for hiding this comment

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

Hey! Thanks for the contribution and quick fix for this. Any chance you have capacity to add an integration test to the opensearch suite for this case?

There are 2 deletion tests but none test this case you've encountered of trying to delete a non-existent document AFAIK. See opensearch/integration_test.go.

@arnitolog
Copy link
Contributor Author

arnitolog commented Nov 14, 2024

@gregfurman, I've added an integration test for this case. Please take a look

@gregfurman
Copy link
Collaborator

Awesome! Thanks for adding that test.

Your golangci-lint step is failing so just run make fmt && make lint and happy to approve 😄

I added a suggestion that you can also accept that should fix it.

@arnitolog
Copy link
Contributor Author

@gregfurman , fixed

Copy link
Collaborator

@gregfurman gregfurman left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for this 👍

@arnitolog arnitolog closed this Nov 16, 2024
@arnitolog arnitolog reopened this Nov 16, 2024
@gregfurman gregfurman merged commit aadacc9 into warpstreamlabs:main Nov 16, 2024
6 checks passed
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.

Opensearch output fails when deleting non-existing document
2 participants