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

hotfix zero-update writes regression #65

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

alexdunnjpl
Copy link
Contributor

Attempting to write an empty buffer of doc updates to OpenSearch results in HTTP400 (regression introduced in #62 )

🗒️ Summary

Adds a check to only perform a write of a non-full buffer if there's actually something in it

⚙️ Test Data and/or Report

Passes the old Mk.2 eyeball
Currently testing in-situ (pending)

♻️ Related Issues

fixes #64

these result in HTTP400 if attempt is made to write them to OpenSearch
Copy link
Contributor

@sjoshi-jpl sjoshi-jpl left a comment

Choose a reason for hiding this comment

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

lgtm!

@alexdunnjpl alexdunnjpl merged commit 356fa3d into main Aug 31, 2023
1 check passed
@alexdunnjpl alexdunnjpl deleted the zero-count-bulk-update-hotfix branch August 31, 2023 22:02
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.

Empty write HTTP400 regression
2 participants